demux: timeline: honor quit requests

This commit is contained in:
wm4
2015-02-20 22:08:02 +01:00
parent 1cac7d1a65
commit ee653b8a26
5 changed files with 12 additions and 4 deletions

View File

@@ -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,
};