[gst-cvs] gst-plugins-bad: mimdec: Make caps a lot stricter

Olivier Crête tester at kemper.freedesktop.org
Wed Jun 2 18:40:19 PDT 2010


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

Author: Olivier Crête <olivier.crete at collabora.co.uk>
Date:   Mon Oct 12 19:56:54 2009 -0400

mimdec: Make caps a lot stricter

---

 ext/mimic/gstmimdec.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ext/mimic/gstmimdec.c b/ext/mimic/gstmimdec.c
index 8ce81f4..7d0e2f3 100644
--- a/ext/mimic/gstmimdec.c
+++ b/ext/mimic/gstmimdec.c
@@ -55,11 +55,20 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
         "bpp = (int) 24, "
         "depth = (int) 24, "
         "endianness = (int) 4321, "
-        "framerate = (fraction) [ 0/1, 30/1 ], "
+        "framerate = (fraction) [1/1, 30/1], "
         "red_mask = (int) 16711680, "
         "green_mask = (int) 65280, "
         "blue_mask = (int) 255, "
-        "height = (int) [16, 4096], " "width = (int) [16, 4096]")
+        "width = (int) 320, "
+        "height = (int) 240"
+        ";video/x-raw-rgb, "
+        "bpp = (int) 24, "
+        "depth = (int) 24, "
+        "endianness = (int) 4321, "
+        "framerate = (fraction) [1/1, 30/1], "
+        "red_mask = (int) 16711680, "
+        "green_mask = (int) 65280, "
+        "blue_mask = (int) 255, " "width = (int) 160, " "height = (int) 120")
     );
 
 static void gst_mim_dec_finalize (GObject * object);





More information about the Gstreamer-commits mailing list