mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
adaptivedemux2: Fix for failed download handling
When playing at the live edge of a live playlist, and a download fails, we don't expect there to be a next fragment. That case is handled lower down anyway, so don't retry infinitely on spurious http errors at the live edge. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
ceda805abb
commit
52d577eee1
1 changed files with 0 additions and 3 deletions
|
@ -1209,9 +1209,6 @@ on_download_error (DownloadRequest * request, DownloadRequestState state,
|
|||
|| last_status_code / 100 == 5)) {
|
||||
/* 4xx/5xx */
|
||||
/* if current position is before available start, switch to next */
|
||||
if (!gst_adaptive_demux2_stream_has_next_fragment (stream))
|
||||
goto flushing;
|
||||
|
||||
if (live) {
|
||||
gint64 range_start, range_stop;
|
||||
|
||||
|
|
Loading…
Reference in a new issue