summaryrefslogtreecommitdiffstats
path: root/demux/timeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/timeline.c')
-rw-r--r--demux/timeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/timeline.c b/demux/timeline.c
index 700a6dfd05..c53170b623 100644
--- a/demux/timeline.c
+++ b/demux/timeline.c
@@ -14,7 +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,
+ .cancel = demuxer->cancel,
.demuxer = demuxer,
.track_layout = demuxer,
};