From 1dfcdb9ce313dce1d29cff529a2d939bf8b241e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 2 Oct 2014 16:21:37 +0300 Subject: [PATCH] openh264dec: GstVideoDecoder works on frames, not sub-frames (e.g. NALs) And we can just pass complete AUs to the decoder without problems. --- ext/openh264/gstopenh264dec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/openh264/gstopenh264dec.cpp b/ext/openh264/gstopenh264dec.cpp index f045f952b1..76a423f799 100644 --- a/ext/openh264/gstopenh264dec.cpp +++ b/ext/openh264/gstopenh264dec.cpp @@ -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,