mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegdemux: add parsed=false to mpeg2 caps
This commit is contained in:
parent
0dcb7c27ba
commit
aeee2084ff
1 changed files with 4 additions and 3 deletions
|
@ -110,8 +110,8 @@ static GstStaticPadTemplate video_template =
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_SOMETIMES,
|
GST_PAD_SOMETIMES,
|
||||||
GST_STATIC_CAPS ("video/mpeg, "
|
GST_STATIC_CAPS ("video/mpeg, "
|
||||||
"mpegversion = (int) { 1, 2, 4 }, " "systemstream = (boolean) FALSE;"
|
"mpegversion = (int) { 1, 2, 4 }, " "systemstream = (boolean) FALSE, "
|
||||||
"video/x-h264")
|
"parsed = (boolean) FALSE; " "video/x-h264")
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate audio_template =
|
static GstStaticPadTemplate audio_template =
|
||||||
|
@ -376,7 +376,8 @@ gst_flups_demux_create_stream (GstFluPSDemux * demux, gint id, gint stream_type)
|
||||||
name = g_strdup_printf ("video_%02x", id);
|
name = g_strdup_printf ("video_%02x", id);
|
||||||
caps = gst_caps_new_simple ("video/mpeg",
|
caps = gst_caps_new_simple ("video/mpeg",
|
||||||
"mpegversion", G_TYPE_INT, mpeg_version,
|
"mpegversion", G_TYPE_INT, mpeg_version,
|
||||||
"systemstream", G_TYPE_BOOLEAN, FALSE, NULL);
|
"systemstream", G_TYPE_BOOLEAN, FALSE,
|
||||||
|
"parsed", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||||
threshold = VIDEO_SEGMENT_THRESHOLD;
|
threshold = VIDEO_SEGMENT_THRESHOLD;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue