mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegdemux: Add stream-format to the H.264 caps.
H.264 in MPEG-PS is always byte-stream
This commit is contained in:
parent
ae98d3537b
commit
df612f7eb1
1 changed files with 2 additions and 1 deletions
|
@ -417,7 +417,8 @@ gst_ps_demux_create_stream (GstPsDemux * demux, gint id, gint stream_type)
|
|||
case ST_VIDEO_H264:
|
||||
template = klass->video_template;
|
||||
name = g_strdup_printf ("video_%02x", id);
|
||||
caps = gst_caps_new_empty_simple ("video/x-h264");
|
||||
caps = gst_caps_new_simple ("video/x-h264",
|
||||
"stream-format", G_TYPE_STRING, "byte-stream", NULL);
|
||||
threshold = VIDEO_SEGMENT_THRESHOLD;
|
||||
break;
|
||||
case ST_PS_AUDIO_AC3:
|
||||
|
|
Loading…
Reference in a new issue