mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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 {
|
} else {
|
||||||
demux->download_failed_count++;
|
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");
|
GST_WARNING_OBJECT (demux, "Could not fetch the next fragment");
|
||||||
g_clear_error (&err);
|
g_clear_error (&err);
|
||||||
|
|
||||||
|
@ -1441,7 +1441,7 @@ gst_hls_demux_updates_loop (GstHLSDemux * demux)
|
||||||
if (demux->stop_updates_task)
|
if (demux->stop_updates_task)
|
||||||
goto quit;
|
goto quit;
|
||||||
demux->client->update_failed_count++;
|
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");
|
GST_WARNING_OBJECT (demux, "Could not update the playlist");
|
||||||
demux->next_update =
|
demux->next_update =
|
||||||
g_get_monotonic_time () +
|
g_get_monotonic_time () +
|
||||||
|
|
Loading…
Reference in a new issue