mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
demux: Push STREAM_START when needed
This commit is contained in:
parent
a3b0ae22d7
commit
93ef1b687e
1 changed files with 2 additions and 0 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue