From 2e65a0f34a5f67949562bb3ea550d0b87c0bd756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 26 Jan 2012 11:02:51 +0100 Subject: [PATCH] theoraenc: Add width/height/framerate to the srcpad caps --- ext/theora/gsttheoraenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index 2406779659..327ce23856 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -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