From e96cc18ab96d0a3586a7ffed9821e16f44b9d5e5 Mon Sep 17 00:00:00 2001 From: Gianluca Gennari Date: Wed, 24 Oct 2012 16:55:20 +0200 Subject: [PATCH] dashdemux: send new-segment events to all pads --- ext/dash/gstdashdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index f7a7e47..c227b85 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -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 */ -- 2.7.4