summaryrefslogtreecommitdiff
path: root/omx/gstomxh264dec.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-19 13:27:35 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-19 13:28:30 +0100
commit4483581e2a44fd41f02de0dd03204b09d5e38365 (patch)
tree446889143d118ac77ba0a387d664cffad36566e1 /omx/gstomxh264dec.c
parentc5ed46792562111b6ac6b96803b576f9f7d1997d (diff)
downloadgst-omx-4483581e2a44fd41f02de0dd03204b09d5e38365.tar.gz
omx: Add more constraints to the default sink template caps
Diffstat (limited to 'omx/gstomxh264dec.c')
-rw-r--r--omx/gstomxh264dec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/omx/gstomxh264dec.c b/omx/gstomxh264dec.c
index b760d20..2581889 100644
--- a/omx/gstomxh264dec.c
+++ b/omx/gstomxh264dec.c
@@ -61,7 +61,9 @@ gst_omx_h264_dec_class_init (GstOMXH264DecClass * klass)
videodec_class->cdata.default_sink_template_caps = "video/x-h264, "
"parsed=(boolean) true, "
- "alignment=(string)au, " "stream-format=(string) byte-stream";
+ "alignment=(string) au, "
+ "stream-format=(string) byte-stream, "
+ "width=(int) [1,MAX], " "height=(int) [1,MAX]";
gst_element_class_set_static_metadata (element_class,
"OpenMAX H.264 Video Decoder",