summaryrefslogtreecommitdiffstats
path: root/demux/demux_cue.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-20 22:08:02 +0100
committerwm4 <wm4@nowhere>2015-02-20 22:08:02 +0100
commitee653b8a26dcd7b89de046fa6a13baa1c6ca7c27 (patch)
tree5228a0c40a87af9b3e37f6852f890c911c6f771c /demux/demux_cue.c
parent1cac7d1a659faffd1514a3269edf9fcae4d357c1 (diff)
downloadmpv-ee653b8a26dcd7b89de046fa6a13baa1c6ca7c27.tar.bz2
mpv-ee653b8a26dcd7b89de046fa6a13baa1c6ca7c27.tar.xz
demux: timeline: honor quit requests
Diffstat (limited to 'demux/demux_cue.c')
-rw-r--r--demux/demux_cue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_cue.c b/demux/demux_cue.c
index 93c842dc0d..6db9e29717 100644
--- a/demux/demux_cue.c
+++ b/demux/demux_cue.c
@@ -192,7 +192,7 @@ static bool try_open(struct timeline *tl, char *filename)
|| bstrcasecmp(bstr0(tl->demuxer->filename), bfilename) == 0)
return false;
- struct stream *s = stream_open(filename, tl->global);
+ struct stream *s = stream_create(filename, STREAM_READ, tl->cancel, tl->global);
if (!s)
return false;
struct demuxer *d = demux_open(s, NULL, tl->global);