From 89aa5dae9d8d9ded8536b0b5d35e8285b5bcc40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 7 Sep 2011 11:24:14 +0200 Subject: [PATCH] diracparse: Add all fields to the src template caps --- gst/videoparsers/gstdiracparse.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gst/videoparsers/gstdiracparse.c b/gst/videoparsers/gstdiracparse.c index 47ab93588d..ef99b7ae90 100644 --- a/gst/videoparsers/gstdiracparse.c +++ b/gst/videoparsers/gstdiracparse.c @@ -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 */