theoraenc: Add width/height/framerate to the srcpad caps
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 26 Jan 2012 10:02:51 +0000 (11:02 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 26 Jan 2012 10:02:51 +0000 (11:02 +0100)
ext/theora/gsttheoraenc.c

index 2406779..327ce23 100644 (file)
@@ -242,7 +242,9 @@ static GstStaticPadTemplate theora_enc_src_factory =
 GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("video/x-theora")
+    GST_STATIC_CAPS ("video/x-theora, "
+        "framerate = (fraction) [1/MAX, MAX], "
+        "width = (int) [ 1, MAX ], " "height = (int) [ 1, MAX ]")
     );
 
 #define gst_theora_enc_parent_class parent_class