mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
hls: don't print a certain warning if playlist loading is aborted
AVERROR_EXIT happens when the user's interrupt callback signals that playback should be aborted. In this case, the demuxer shouldn't print a warning, as it's expected that all network accesses are stopped.
This commit is contained in:
parent
6194d7e564
commit
23ffeb91fe
@ -1422,8 +1422,9 @@ reload:
|
||||
if (!v->finished &&
|
||||
av_gettime_relative() - v->last_load_time >= reload_interval) {
|
||||
if ((ret = parse_playlist(c, v->url, v, NULL)) < 0) {
|
||||
av_log(v->parent, AV_LOG_WARNING, "Failed to reload playlist %d\n",
|
||||
v->index);
|
||||
if (ret != AVERROR_EXIT)
|
||||
av_log(v->parent, AV_LOG_WARNING, "Failed to reload playlist %d\n",
|
||||
v->index);
|
||||
return ret;
|
||||
}
|
||||
/* If we need to reload the playlist again below (if
|
||||
|
Loading…
Reference in New Issue
Block a user