summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2019-01-24 22:51:39 +0100
committerTim-Philipp Müller <tim@centricular.com>2019-05-02 10:06:08 +0100
commite0fa76e401a7449b2751f52bbdf72b4805c46edf (patch)
tree629f99d36b3bf6b16cbf8c077bc92c3adad2aa80
parentd2a30c2cb7696ee6ce29e90dacdd7856902bd18c (diff)
downloadgstreamer-plugins-bad-e0fa76e401a7449b2751f52bbdf72b4805c46edf.tar.gz
mpegpsmux: add stream-format and alignment to H.264 caps
-rw-r--r--gst/mpegpsmux/mpegpsmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/mpegpsmux/mpegpsmux.c b/gst/mpegpsmux/mpegpsmux.c
index f62749634..c7e4cc22c 100644
--- a/gst/mpegpsmux/mpegpsmux.c
+++ b/gst/mpegpsmux/mpegpsmux.c
@@ -67,7 +67,8 @@ static GstStaticPadTemplate mpegpsmux_sink_factory =
"mpegversion = (int) { 1, 2, 4 }, "
"systemstream = (boolean) false; "
"video/x-dirac;"
- "video/x-h264;"
+ "video/x-h264,stream-format=(string)byte-stream,"
+ "alignment=(string){au, nal}; "
"audio/mpeg, "
"mpegversion = (int) { 1, 2 };"
"audio/mpeg, "