mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
dashdemux: send new-segment events to all pads
This commit is contained in:
parent
9387365fc9
commit
e96cc18ab9
1 changed files with 1 additions and 1 deletions
|
@ -984,7 +984,6 @@ gst_dash_demux_stream_loop (GstDashDemux * demux)
|
|||
gst_pad_push_event (demux->srcpad[i],
|
||||
gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME,
|
||||
start, GST_CLOCK_TIME_NONE, start));
|
||||
demux->need_segment = FALSE;
|
||||
demux->position_shift = 0;
|
||||
}
|
||||
|
||||
|
@ -995,6 +994,7 @@ gst_dash_demux_stream_loop (GstDashDemux * demux)
|
|||
if ((ret != GST_FLOW_OK) && (stream->mimeType == GST_STREAM_VIDEO))
|
||||
goto error_pushing;
|
||||
}
|
||||
demux->need_segment = FALSE;
|
||||
g_list_free (listfragment);
|
||||
if (GST_STATE (demux) == GST_STATE_PLAYING) {
|
||||
/* Wait for the duration of a fragment before resuming this task */
|
||||
|
|
Loading…
Reference in a new issue