From de68e60526b7363af256283c2195c34dd4a4604d Mon Sep 17 00:00:00 2001 From: Chris Bass Date: Tue, 18 Feb 2014 10:19:52 +0000 Subject: dashdemux: initialise demux->last_manifest_update demux->last_manifest_update is not initialised at startup, with the effect that live manifests are reloaded immediately after the download loop begins. This patch fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=724790 --- ext/dash/gstdashdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 25ee3307e..5a192b32b 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -342,6 +342,7 @@ gst_dash_demux_init (GstDashDemux * demux) demux->max_buffering_time = DEFAULT_MAX_BUFFERING_TIME * GST_SECOND; demux->bandwidth_usage = DEFAULT_BANDWIDTH_USAGE; demux->max_bitrate = DEFAULT_MAX_BITRATE; + demux->last_manifest_update = GST_CLOCK_TIME_NONE; /* Updates task */ g_rec_mutex_init (&demux->download_task_lock); -- cgit v1.2.1