summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2019-01-24 22:51:39 +0100
committerNicola Murino <nicola.murino@gmail.com>2019-01-24 22:51:39 +0100
commite5278757c335f45930e1683d7068dadd49b40017 (patch)
tree36b0876a553dc89c2baa4b29ef9051d70f42bdfe /gst
parent920062cafc75eb08a7b01ff484e1743e12bedc44 (diff)
downloadgstreamer-plugins-bad-e5278757c335f45930e1683d7068dadd49b40017.tar.gz
mpegpsmux: add stream-format and alignment to H.264 caps
Diffstat (limited to 'gst')
-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, "