diff options
author | Chris Bass <floobleflam@gmail.com> | 2014-02-18 10:19:52 +0000 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-23 10:44:50 +0100 |
commit | de68e60526b7363af256283c2195c34dd4a4604d (patch) | |
tree | 34b42aa764989bed4b16efc3eb471ba417f04c81 | |
parent | 4e0fa57661e6c5aba7c4485d60dc596b991022ad (diff) | |
download | gstreamer-plugins-bad-de68e60526b7363af256283c2195c34dd4a4604d.tar.gz |
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
-rw-r--r-- | ext/dash/gstdashdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |