mpegdemux: Add stream-format to the H.264 caps.

H.264 in MPEG-PS is always byte-stream
This commit is contained in:
Jan Schmidt 2017-02-01 14:44:32 +11:00
parent ae98d3537b
commit df612f7eb1

View file

@ -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: