mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
adaptivedemux: reset the manifest failure count after a successful retrieval
This changes the failure case to require a consecutive number of failures rather than being spread out over the entire stream. Fixes the case where fetching the manifest was intermittent. https://bugzilla.gnome.org/show_bug.cgi?id=774177
This commit is contained in:
parent
6d50a9e8a8
commit
28396d348f
1 changed files with 1 additions and 0 deletions
|
@ -3562,6 +3562,7 @@ gst_adaptive_demux_updates_loop (GstAdaptiveDemux * demux)
|
|||
}
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (demux, "Updated playlist successfully");
|
||||
demux->priv->update_failed_count = 0;
|
||||
next_update =
|
||||
gst_adaptive_demux_get_monotonic_time (demux) +
|
||||
klass->get_manifest_update_interval (demux) * GST_USECOND;
|
||||
|
|
Loading…
Reference in a new issue