[Bug 604434] v4l2src: errors when trying to set an unsupported pixelsize while it knows what the device supports

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Mar 29 12:59:40 PDT 2014


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

--- Comment #3 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-03-29 20:25:44 UTC ---
Indeed, stepwise was introduced to represent ranges with steps. Though, from
discussion with v4l2 kernel maintainers, it is likely that HW should always
round up, rather then round nearest.

By rounding up, we could simply crop the output to fit the negotiated size,
without having to care about the HW restriction.

We could also deal with stepwise without having to create large caps, since we
could expose them as range, remembering the steps ranges, and doing the
rounding up ourself. Steps are usually between 2 and 16.

Would that be an acceptable solution ?

-- 
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