omxh264dec: remove 'parsed=true' from sink pad
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 29 Jun 2017 14:48:07 +0000 (16:48 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 29 Jun 2017 19:46:14 +0000 (15:46 -0400)
The decoder only requires to receive one frame per buffer which is
already enforced with 'alignment=au'. There is no need to require to
have a parser upstream.

Allow to run "encode ! decode" pipeline without having a parser.

https://bugzilla.gnome.org/show_bug.cgi?id=784344

omx/gstomxh264dec.c

index 2132d9f..800c744 100644 (file)
@@ -60,7 +60,6 @@ gst_omx_h264_dec_class_init (GstOMXH264DecClass * klass)
   videodec_class->set_format = GST_DEBUG_FUNCPTR (gst_omx_h264_dec_set_format);
 
   videodec_class->cdata.default_sink_template_caps = "video/x-h264, "
-      "parsed=(boolean) true, "
       "alignment=(string) au, "
       "stream-format=(string) byte-stream, "
       "width=(int) [1,MAX], " "height=(int) [1,MAX]";