[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-cvs
Subject:    gst-plugins-base: videotestsrc: fix handling of Bayer format 'gbrg'
From:       tpm () kemper ! freedesktop ! org (Tim Müller)
Date:       2015-10-30 20:41:51
Message-ID: 20151030204151.F03E576256 () kemper ! freedesktop ! org
[Download RAW message or body]

Module: gst-plugins-base
Branch: master
Commit: a95a900c21f66c69fb9e41dc243b554314d79a6d
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a95a900c21f66c69fb9e41dc243b554314d79a6d


Author: Joan Pau Beltran <joanpau.beltran@socib.cat>
Date:   Wed Oct 28 18:36:41 2015 +0100

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

---

 gst/videotestsrc/gstvideotestsrc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gst/videotestsrc/gstvideotestsrc.c b/gst/videotestsrc/gstvideotestsrc.c
index 00640c9..56bb473 100644
--- a/gst/videotestsrc/gstvideotestsrc.c
+++ b/gst/videotestsrc/gstvideotestsrc.c
@@ -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

_______________________________________________
gstreamer-commits mailing list
gstreamer-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic