Re: [FFmpeg-devel] [PATCH] lavd/v4l2: allow devices not implementing VIDIOC_G_PARM

2016-06-16 Thread Michael Niedermayer
On Thu, Jun 16, 2016 at 10:16:54AM +0200, Benoit Fouet wrote: > Hi, > > > On 15/06/2016 17:21, Niklas Söderlund wrote: > >Not all v4l2 devices implement the VIDIOC_G_PARM ioctl. This patch allow > >ffmpeg to open such device and treat it the same as devices that do > >implement the ioctl but retu

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: allow devices not implementing VIDIOC_G_PARM

2016-06-16 Thread Benoit Fouet
Hi, On 15/06/2016 17:21, Niklas Söderlund wrote: Not all v4l2 devices implement the VIDIOC_G_PARM ioctl. This patch allow ffmpeg to open such device and treat it the same as devices that do implement the ioctl but returns that it do not implement the V4L2_CAP_TIMEPERFRAME capability. Signed-of

[FFmpeg-devel] [PATCH] lavd/v4l2: allow devices not implementing VIDIOC_G_PARM

2016-06-15 Thread Niklas Söderlund
Not all v4l2 devices implement the VIDIOC_G_PARM ioctl. This patch allow ffmpeg to open such device and treat it the same as devices that do implement the ioctl but returns that it do not implement the V4L2_CAP_TIMEPERFRAME capability. Signed-off-by: Niklas Söderlund --- libavdevice/v4l2.c | 7 +