mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-26 07:56:38 +00:00
adaptivedemux2: Increment retry counter to stop after MAX_ERROR_COUNT
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8128>
This commit is contained in:
parent
1faa88b1ff
commit
99ad918ece
1 changed files with 1 additions and 1 deletions
|
@ -1255,7 +1255,7 @@ on_download_error (DownloadRequest * request, DownloadRequestState state,
|
|||
}
|
||||
}
|
||||
|
||||
if (stream->download_error_count >= MAX_DOWNLOAD_ERROR_COUNT) {
|
||||
if (++stream->download_error_count >= MAX_DOWNLOAD_ERROR_COUNT) {
|
||||
/* looks like there is no way of knowing when a live stream has ended
|
||||
* Have to assume we are falling behind and cause a manifest reload */
|
||||
GST_DEBUG_OBJECT (stream, "Converting error of live stream to EOS");
|
||||
|
|
Loading…
Reference in a new issue