From 5385a65b043ca222c6396e31dac22ab1b7f1d13b Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Wed, 13 Feb 2013 23:28:01 +0100 Subject: [PATCH] riffmedia: add systemstream to all mpeg video caps --- gst-libs/gst/riff/riff-media.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index f5d2a0adc7..ef56090d28 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -360,14 +360,16 @@ gst_riff_create_video_caps (guint32 codec_fcc, case GST_MAKE_FOURCC ('S', 'E', 'D', 'G'): caps = gst_caps_new_simple ("video/mpeg", - "mpegversion", G_TYPE_INT, 4, NULL); + "mpegversion", G_TYPE_INT, 4, + "systemstream", G_TYPE_BOOLEAN, FALSE, NULL); if (codec_name) *codec_name = g_strdup ("Samsung MPEG-4"); break; case GST_MAKE_FOURCC ('M', '4', 'C', 'C'): caps = gst_caps_new_simple ("video/mpeg", - "mpegversion", G_TYPE_INT, 4, NULL); + "mpegversion", G_TYPE_INT, 4, + "systemstream", G_TYPE_BOOLEAN, FALSE, NULL); if (codec_name) *codec_name = g_strdup ("Divio MPEG-4"); break; @@ -445,7 +447,8 @@ gst_riff_create_video_caps (guint32 codec_fcc, case GST_MAKE_FOURCC ('M', 'P', '4', 'S'): case GST_MAKE_FOURCC ('M', '4', 'S', '2'): caps = gst_caps_new_simple ("video/mpeg", - "mpegversion", G_TYPE_INT, 4, NULL); + "mpegversion", G_TYPE_INT, 4, + "systemstream", G_TYPE_BOOLEAN, FALSE, NULL); if (codec_name) *codec_name = g_strdup ("Microsoft ISO MPEG-4 1.1"); break; @@ -454,7 +457,8 @@ gst_riff_create_video_caps (guint32 codec_fcc, case GST_MAKE_FOURCC ('U', 'M', 'P', '4'): case GST_MAKE_FOURCC ('F', 'F', 'D', 'S'): caps = gst_caps_new_simple ("video/mpeg", - "mpegversion", G_TYPE_INT, 4, NULL); + "mpegversion", G_TYPE_INT, 4, + "systemstream", G_TYPE_BOOLEAN, FALSE, NULL); if (codec_name) *codec_name = g_strdup ("FFmpeg MPEG-4"); break; @@ -481,7 +485,8 @@ gst_riff_create_video_caps (guint32 codec_fcc, case GST_MAKE_FOURCC ('m', 'p', '4', 'v'): case GST_MAKE_FOURCC ('R', 'M', 'P', '4'): caps = gst_caps_new_simple ("video/mpeg", - "mpegversion", G_TYPE_INT, 4, NULL); + "mpegversion", G_TYPE_INT, 4, + "systemstream", G_TYPE_BOOLEAN, FALSE, NULL); if (codec_name) *codec_name = g_strdup ("MPEG-4"); break;