Re: v4l2 for 2.4.x kernels replaces videodev.h so that kernel no long er compiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 26 Jun 2001, Michele Slocovich wrote:

> v4l2 for 2.4.x kernels replaces videodev.h so that my kernel wont compile
> anymore (either patched with new 2.6.0 i2c or not)
> sorry for my bloathed ignorance but may I ask whether this is by design ?
> and for my curiosity why so ? *maybe for v4l2 drivers to compile against it
> ?*

I stated a long time ago that I believe that calling the v4l2 header
videodev.h in direct conflict with v4l's videodev.h is a major flaw in
v4l2.  As the kernel progresses, it's getting harder and harder to bodily
yank all of v4l out so you can safely insert v4l2.  Changing the header
name to videodev2.h to match the 'version' of the API is natural, simple,
and correct, IMO.  It's called 'versioning', and lack of it is the
fundamental reason why Windoze sucks so much.  Highly incompatible headers
by the same name is the absolute worst possible case.

My $0.02,
        Omega

      Erik Walthinsen <omega@xxxxxxxxxxxxxxxxxx> - System Administrator
        __
       /  \                GStreamer - The only way to stream!
      |    | M E G A        ***** http://gstreamer.net/ *****
      _\  /_





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux