From: David Waring Date: Fri, 5 Dec 2014 16:20:08 +0000 (+0000) Subject: dashdemux: Find current segment in the streams that have just been setup X-Git-Tag: 1.19.3~507^2~9784 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b03acbf584cab286b8c869f4aa3bdc8e98059f65;p=platform%2Fupstream%2Fgstreamer.git dashdemux: Find current segment in the streams that have just been setup Using demux->streams will just skip the whole loop as demux->streams will always be NULL at that point https://bugzilla.gnome.org/show_bug.cgi?id=741285 --- diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 22d5716..4e4d71a 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -531,7 +531,7 @@ gst_dash_demux_setup_streams (GstAdaptiveDemux * demux) gint seg_idx; GST_DEBUG_OBJECT (demux, "Seeking to current time of day for live stream "); - for (iter = demux->streams; iter; iter = g_list_next (iter)) { + for (iter = demux->next_streams; iter; iter = g_list_next (iter)) { GstDashDemuxStream *stream = iter->data; GstActiveStream *active_stream = stream->active_stream;