mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
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:
parent
c229a87ac3
commit
462c04cade
1 changed files with 1 additions and 0 deletions
|
@ -321,6 +321,7 @@ gst_dash_demux_init (GstDashDemux * demux)
|
||||||
demux->max_buffering_time = DEFAULT_MAX_BUFFERING_TIME * GST_SECOND;
|
demux->max_buffering_time = DEFAULT_MAX_BUFFERING_TIME * GST_SECOND;
|
||||||
demux->bandwidth_usage = DEFAULT_BANDWIDTH_USAGE;
|
demux->bandwidth_usage = DEFAULT_BANDWIDTH_USAGE;
|
||||||
demux->max_bitrate = DEFAULT_MAX_BITRATE;
|
demux->max_bitrate = DEFAULT_MAX_BITRATE;
|
||||||
|
demux->last_manifest_update = GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
g_mutex_init (&demux->client_lock);
|
g_mutex_init (&demux->client_lock);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue