Re: Latest V4L2 breaks binary compatibility ??

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



Gerd Knorr (kraxel@xxxxxxxxxxx):

> On Wed, Sep 24, 2003 at 10:50:21AM -0500, Billy Biggs wrote:
> >   Isaac Richards pointed out to me that it seems like the latest V4L2
> > patches break binary compatibility.  In
> > http://bytesex.org/patches/2.6.0-test5-2/20_v4l2-2.6.0-test5.diff
> > 
> >   -#define VIDIOC_S_PARM		_IOW  ('V', 22, struct v4l2_streamparm)
> >   +#define VIDIOC_S_PARM		_IOWR ('V', 22, struct v4l2_streamparm)
> > 
> >   -#define VIDIOC_S_CTRL		_IOW  ('V', 28, struct v4l2_control)
> >   +#define VIDIOC_S_CTRL		_IOWR ('V', 28, struct v4l2_control)
> > 
> >   What happened?  I fear this will break many apps.
> 
> It doesn't.  Check the complete diff.  There also is ...
> 
> +#define VIDIOC_S_PARM_OLD              _IOW  ('V', 22, struct v4l2_streamparm)
> +#define VIDIOC_S_CTRL_OLD              _IOW  ('V', 28, struct v4l2_control)
> 
> ... and the new video_fix_command() function which maps
> VIDIOC_FOOBAR_OLD to VIDIOC_FOOBAR.
> 
> The patched kernel accepts both old and new ioctls.

  Great !!  Thanks for clearing this up.

  -Billy




[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