Commit 93ef1b68 authored by Edward Hervey's avatar Edward Hervey
Browse files

demux: Push STREAM_START when needed

parent a3b0ae22
......@@ -1005,6 +1005,8 @@ gst_ffmpegdemux_get_stream (GstFFMpegDemux * demux, AVStream * avstream)
/* activate and add */
gst_element_add_pad (GST_ELEMENT (demux), pad);
gst_pad_push_event (pad, gst_event_new_stream_start ());
/* metadata */
if ((codec = gst_ffmpeg_get_codecid_longname (ctx->codec_id))) {
stream->tags = gst_tag_list_new_empty ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment