diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-09-07 11:24:14 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2011-09-07 11:29:37 +0200 |
commit | 89aa5dae9d8d9ded8536b0b5d35e8285b5bcc40b (patch) | |
tree | 7339a3b005ad238ea96825063ea4603ae8523bbb | |
parent | 2adf76eb5218d3d2e57fe618eed120cb0f37d86b (diff) | |
download | gstreamer-plugins-bad-89aa5dae9d8d9ded8536b0b5d35e8285b5bcc40b.tar.gz |
diracparse: Add all fields to the src template caps
-rw-r--r-- | gst/videoparsers/gstdiracparse.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gst/videoparsers/gstdiracparse.c b/gst/videoparsers/gstdiracparse.c index 47ab93588..ef99b7ae9 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 */ |