[Bug 762529] v4l2src produces wrong colorimetry info for NV12

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 3 13:24:08 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762529

--- Comment #14 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
(In reply to Josep Torra Valles from comment #13)
> > > But I'm not sure if for V4L2_COLORSPACE_RAW we should directly return in the
> > > case.
> > 
> > RAW is special case, as we have an explicit representation for that in
> > GStreamer. While in V4L2 macros, it simply guesses something.
> 
> Sorry probably I didn't explain my concern properly.
> 
> At
> https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/sys/v4l2/
> gstv4l2object.c#n1942
> 
> I've the feeling that it should just bail out with return TRUE instead of
> continue with the other switches.

I believe the spec is empty around this one. If you set _RAW and default
everywhere else, that's exactly what you will get. The question is if a driver
can set colorspace RAW (to avoid randomly choosen defaults) and set few of the
parameters still. That was at least my interpretation. We yet to have to find
such a HW, most of them provides an explicit colorspace.

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