mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
hls: Actually retry 3 times as advertised instead of 2
This commit is contained in:
parent
0b34cde46e
commit
d4a53a16dd
1 changed files with 2 additions and 2 deletions
|
@ -1199,7 +1199,7 @@ gst_hls_demux_stream_loop (GstHLSDemux * demux)
|
|||
}
|
||||
} else {
|
||||
demux->download_failed_count++;
|
||||
if (demux->download_failed_count < DEFAULT_FAILED_COUNT) {
|
||||
if (demux->download_failed_count <= DEFAULT_FAILED_COUNT) {
|
||||
GST_WARNING_OBJECT (demux, "Could not fetch the next fragment");
|
||||
g_clear_error (&err);
|
||||
|
||||
|
@ -1441,7 +1441,7 @@ gst_hls_demux_updates_loop (GstHLSDemux * demux)
|
|||
if (demux->stop_updates_task)
|
||||
goto quit;
|
||||
demux->client->update_failed_count++;
|
||||
if (demux->client->update_failed_count < DEFAULT_FAILED_COUNT) {
|
||||
if (demux->client->update_failed_count <= DEFAULT_FAILED_COUNT) {
|
||||
GST_WARNING_OBJECT (demux, "Could not update the playlist");
|
||||
demux->next_update =
|
||||
g_get_monotonic_time () +
|
||||
|
|
Loading…
Reference in a new issue