theoraenc: Add width/height/framerate to the srcpad caps

This commit is contained in:
Sebastian Dröge 2012-01-26 11:02:51 +01:00
parent 1f37f9f41d
commit 2e65a0f34a

View 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