summaryrefslogtreecommitdiffstats
path: root/demux/timeline.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/timeline.c
parent1cac7d1a659faffd1514a3269edf9fcae4d357c1 (diff)
downloadmpv-ee653b8a26dcd7b89de046fa6a13baa1c6ca7c27.tar.bz2
mpv-ee653b8a26dcd7b89de046fa6a13baa1c6ca7c27.tar.xz
demux: timeline: honor quit requests
Diffstat (limited to 'demux/timeline.c')
-rw-r--r--demux/timeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/timeline.c b/demux/timeline.c
index 9910abf46d..73f3ab79a2 100644
--- a/demux/timeline.c
+++ b/demux/timeline.c
@@ -14,6 +14,7 @@ struct timeline *timeline_load(struct mpv_global *global, struct mp_log *log,
*tl = (struct timeline){
.global = global,
.log = log,
+ .cancel = demuxer->stream->cancel,
.demuxer = demuxer,
.track_layout = demuxer,
};