summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Murino <nicola.murino@gmail.com>2019-01-24 10:32:14 +0100
committerTim-Philipp Müller <tim@centricular.com>2019-05-02 10:05:43 +0100
commitd2a30c2cb7696ee6ce29e90dacdd7856902bd18c (patch)
treece2dda28e3793ca713d7c88cc9e82f094f1949c0
parent0b7e541dfd4f57d9595fadc1df82db824b3facf6 (diff)
downloadgstreamer-plugins-bad-d2a30c2cb7696ee6ce29e90dacdd7856902bd18c.tar.gz
mpegdemux: add stream format to H.264 caps
-rw-r--r--gst/mpegdemux/gstmpegdemux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 44541490d..cedaae0c2 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -108,7 +108,8 @@ static GstStaticPadTemplate video_template =
GST_PAD_SOMETIMES,
GST_STATIC_CAPS ("video/mpeg, "
"mpegversion = (int) { 1, 2, 4 }, " "systemstream = (boolean) FALSE, "
- "parsed = (boolean) FALSE; " "video/x-h264")
+ "parsed = (boolean) FALSE; " "video/x-h264, "
+ "stream-format=(string)byte-stream;")
);
static GstStaticPadTemplate audio_template =