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
This commit is contained in:
Chris Bass 2014-02-18 10:19:52 +00:00 committed by Sebastian Dröge
parent c229a87ac3
commit 462c04cade

View file

@ -321,6 +321,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;
g_mutex_init (&demux->client_lock);
}