mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
videotestsrc: fix handling of Bayer format 'gbrg'
Due to a typo, videotestsrc did not handle the Bayer format 'gbrg' properly and reported it as invalid, causing negotiation errors. https://bugzilla.gnome.org/show_bug.cgi?id=757264
This commit is contained in:
parent
5cf367ae57
commit
a95a900c21
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ gst_video_test_src_parse_caps (const GstCaps * caps,
|
|||
} else if (g_str_equal (str, "grbg")) {
|
||||
*x_inv = 0;
|
||||
*y_inv = 1;
|
||||
} else if (g_str_equal (str, "grbg")) {
|
||||
} else if (g_str_equal (str, "gbrg")) {
|
||||
*x_inv = 1;
|
||||
*y_inv = 0;
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue