Skip to content
Snippets Groups Projects
Commit de68e605 authored by Chris Bass's avatar Chris Bass Committed by Sebastian Dröge
Browse files

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
parent 4e0fa576
No related branches found
No related tags found
Loading
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment