openh264dec: GstVideoDecoder works on frames, not sub-frames (e.g. NALs)

And we can just pass complete AUs to the decoder without problems.
This commit is contained in:
Sebastian Dröge 2014-10-02 16:21:37 +03:00
parent 1eb740a7c3
commit 1dfcdb9ce3

View file

@ -81,7 +81,7 @@ struct _GstOpenh264DecPrivate
static GstStaticPadTemplate gst_openh264dec_sink_template = GST_STATIC_PAD_TEMPLATE("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS("video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal"));
GST_STATIC_CAPS("video/x-h264, stream-format=(string)byte-stream, alignment=(string)au"));
static GstStaticPadTemplate gst_openh264dec_src_template = GST_STATIC_PAD_TEMPLATE("src",
GST_PAD_SRC,