[vlc-devel] [PATCH] v4l2: Fix SetupFormat for CONTINUOUS framesize

Devin Heitmueller dheitmueller at kernellabs.com
Fri Aug 21 16:57:06 CEST 2015


On Fri, Aug 21, 2015 at 10:35 AM, Ricardo Ribalda Delgado
<ricardo.ribalda at gmail.com> wrote:
> Some devices with CONTINUOUS framesize can set step_width or step_height
> to zero, entering an endless loop.

Ugh.  I'm not against this patch, but which device(s) are we talking
about, and have you complained on the linux-media mailing list?  This
is likely something Hans can tweak in the framework to make sure a
driver *never* returns a stepsize of zero (i.e. make the v4l2
framework force the value to 1 if the driver says zero before
returning the ioctl call to userland.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com


More information about the vlc-devel mailing list