mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
hlsdemux: Small improvement on always valid if condition
No need to check for !cancelled as the above if guarantees it to be true
This commit is contained in:
parent
72e05dfd7c
commit
9a50ca5fbc
1 changed files with 1 additions and 1 deletions
|
@ -927,7 +927,7 @@ gst_hls_demux_updates_loop (GstHLSDemux * demux)
|
|||
if (!gst_hls_demux_get_next_fragment (demux, FALSE)) {
|
||||
if (demux->cancelled) {
|
||||
goto quit;
|
||||
} else if (!demux->end_of_playlist && !demux->cancelled) {
|
||||
} else if (!demux->end_of_playlist) {
|
||||
demux->client->update_failed_count++;
|
||||
if (demux->client->update_failed_count < DEFAULT_FAILED_COUNT) {
|
||||
GST_WARNING_OBJECT (demux, "Could not fetch the next fragment");
|
||||
|
|
Loading…
Reference in a new issue