After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763318 - v4l2: fix capture with bayer formats other than bggr
v4l2: fix capture with bayer formats other than bggr
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.7.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2016-03-08 12:39 UTC by Alban Bedel
Modified: 2016-03-11 15:56 UTC
See Also:
GNOME target: ---
GNOME version: ---

Proposed patch that fix the issue (1.59 KB, patch)
2016-03-08 12:41 UTC, Alban Bedel
committed Details | Review

Description Alban Bedel 2016-03-08 12:39:37 UTC
gst_v4l2_object_get_caps_info() always return V4L2_PIX_FMT_SBGGR8
for all bayer formats. This is obviously broken if the device use
another ordering. Fix this by properly reading the format parameter.
Comment 1 Alban Bedel 2016-03-08 12:41:37 UTC
Created attachment 323390 [details] [review]
Proposed patch that fix the issue
Comment 2 Nicolas Dufresne (ndufresne) 2016-03-08 16:20:19 UTC
Thanks, good catch.