diracparse: Add all fields to the src template caps
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 7 Sep 2011 09:24:14 +0000 (11:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 7 Sep 2011 09:29:37 +0000 (11:29 +0200)
gst/videoparsers/gstdiracparse.c

index 47ab93588d9a68f9f1f856a764a148d397e712b2..ef99b7ae9055a3e55406dce4a34ef2e607f44096 100644 (file)
@@ -85,7 +85,12 @@ static GstStaticPadTemplate gst_dirac_parse_src_template =
 GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("video/x-dirac, parsed=(boolean)TRUE")
+    GST_STATIC_CAPS ("video/x-dirac, parsed=(boolean)TRUE, "
+        "width=(int)[1,MAX], height=(int)[1,MAX], "
+        "framerate=(fraction)[0/1,MAX], "
+        "pixel-aspect-ratio=(fraction)[0/1,MAX], "
+        "interlaced=(boolean){TRUE,FALSE}, "
+        "profile=(int)[0,MAX], level=(int)[0,MAX]")
     );
 
 /* class initialization */