summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Pau Beltran <joanpau.beltran@socib.cat>2015-10-28 18:36:41 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-10-30 20:48:11 +0000
commit70a3758a909cce64980c75240e6b6bc90812bc71 (patch)
tree4bbe8fb2cf2f2607f84ddf6f0fdbd6c95f2fb6ee
parenta92ff4f2c57e342dc2b97a79bc3ea234541e3c27 (diff)
downloadgstreamer-plugins-base-70a3758a909cce64980c75240e6b6bc90812bc71.tar.gz
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
-rw-r--r--gst/videotestsrc/gstvideotestsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c
index f646b4c2c..136617a6b 100644
--- a/gst/videotestsrc/gstvideotestsrc.c
+++ b/gst/videotestsrc/gstvideotestsrc.c
@@ -603,7 +603,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