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

Rémi Denis-Courmont remi at remlab.net
Wed Apr 15 21:07:11 CEST 2015


Le mercredi 15 avril 2015, 20:42:08 Ricardo Ribalda Delgado a écrit :
> One of the bounds of the loop were wrong, ending up in testing
> formats that were not supported by the hardware.
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
> ---
> 
> Stupid Related question. Why vlc prefers fast frames in favour of
> big frames?

Many still camera sensors are exposed as V4L devices. Favoring resolution 
would lead to insanely slow rates and insanely large frames.
The current logic is supposed to the frame rate at the expense of the 
resolution only below 60 Hz anyway.

> I have a camera that supports framesizes from 4x1 to 1024x1024, and
> the tiny useless frames are autoselected :S.
> 
> Would a patch to invert this preference be accepted?

No.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list