mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/hls: do not iterate to next sequence number if interruption is requested
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d38bc6361d
commit
b9161ef052
|
@ -1085,6 +1085,8 @@ reload:
|
||||||
|
|
||||||
ret = open_input(c, v);
|
ret = open_input(c, v);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
|
if (ff_check_interrupt(c->interrupt_callback))
|
||||||
|
return AVERROR_EXIT;
|
||||||
av_log(v->parent, AV_LOG_WARNING, "Failed to open segment of playlist %d\n",
|
av_log(v->parent, AV_LOG_WARNING, "Failed to open segment of playlist %d\n",
|
||||||
v->index);
|
v->index);
|
||||||
v->cur_seq_no += 1;
|
v->cur_seq_no += 1;
|
||||||
|
|
Loading…
Reference in New Issue