[Bug 649067] v4l2src: got unexpected frame size of 262254 instead of 614400

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 8 02:59:21 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=649067
  GStreamer | gst-plugins-good | 0.10.27

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent.penquerch at collabora
                   |                            |.co.uk

--- Comment #19 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-08-08 09:59:14 UTC ---
This might help: it saves the current format and restores it after the
operation.
It might or might not incur an extra delay for some hardware.
It's not really tested as v4l2src works for me in the first place, but it still
works with the patch.
I note that the implementation of gst_v4l2_object_get_nearest_size uses
VIDIOC_S_FMT if VIDIOC_TRY_FMT fails, so it looks like this patch might be
needed for all drivers anyway.
If someone with a problematic driver can test, that'd be great.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list