aboutsummaryrefslogtreecommitdiffhomepage
path: root/demux
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-02-04 23:10:04 +0100
committerGravatar wm4 <wm4@nowhere>2017-02-04 23:10:04 +0100
commit8362577f8c44cf447c31ed7f30ce62cce3e95a30 (patch)
tree1e6e4cbf2e9ae6a2cb1b5ef84144232950192332 /demux
parent58c9f1a822bf226472eaa471c487988f9dac5c7f (diff)
demux_timeline: more silencing
Diffstat (limited to 'demux')
-rw-r--r--demux/demux_timeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_timeline.c b/demux/demux_timeline.c
index 4b3eb93d0d..3759c9ffc1 100644
--- a/demux/demux_timeline.c
+++ b/demux/demux_timeline.c
@@ -169,7 +169,7 @@ static void reopen_lazy_segments(struct demuxer *demuxer)
};
p->current->d = demux_open_url(p->current->url, &params,
demuxer->stream->cancel, demuxer->global);
- if (!p->current->d)
+ if (!p->current->d && !demux_cancel_test(demuxer))
MP_ERR(demuxer, "failed to load segment\n");
associate_streams(demuxer, p->current);
}