summaryrefslogtreecommitdiff
path: root/ext/openh264
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-10-02 16:21:37 +0300
committerSebastian Dröge <sebastian@centricular.com>2014-10-03 17:23:36 +0300
commit1dfcdb9ce313dce1d29cff529a2d939bf8b241e3 (patch)
treedf68bea022bf992c03be94ae828dcbe9672d04d7 /ext/openh264
parent1eb740a7c303615b71e8a04d619db50e8ffcfb84 (diff)
downloadgstreamer-plugins-bad-1dfcdb9ce313dce1d29cff529a2d939bf8b241e3.tar.gz
openh264dec: GstVideoDecoder works on frames, not sub-frames (e.g. NALs)
And we can just pass complete AUs to the decoder without problems.
Diffstat (limited to 'ext/openh264')
-rw-r--r--ext/openh264/gstopenh264dec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openh264/gstopenh264dec.cpp b/ext/openh264/gstopenh264dec.cpp
index f045f952b..76a423f79 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,