Re: [FFmpeg-devel] [PATCH] lavd/v4l2: skip buffers not matching frame_size

2018-09-02 Thread Stephan Hilb
> libavdevice/v4l2.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Any comments on this? pgp6DLors_XHR.pgp Description: OpenPGP digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/f

[FFmpeg-devel] [PATCH] lavd/v4l2: skip buffers not matching frame_size

2018-08-25 Thread Stephan Hilb
By adopting the same behaviour as if there was corrupted data in the buffer (see the check for V4L2_BUF_FLAG_ERROR) the resulting rawvideo now at least contains valid data (the previous frame being duplicated). Fixes video capturing for some stk1160 devices. --- libavdevice/v4l2.c | 5 ++--- 1 fil