diff options
author | wm4 <wm4@nowhere> | 2015-02-04 21:20:41 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-04 23:04:21 +0100 |
commit | 59dc351772e95742600979886591401923aceb25 (patch) | |
tree | c601df794f0fea14f2ffd1e98e9c7809ee8605c5 /player/timeline/tl_cue.c | |
parent | f8dc5db315ce3ec3c3e9c8532f1290967bbe2336 (diff) | |
download | mpv-59dc351772e95742600979886591401923aceb25.tar.bz2 mpv-59dc351772e95742600979886591401923aceb25.tar.xz |
player: move timeline specific handling to timeline loaders
In particular, gets rid of the Matroska specifics from the common code.
Diffstat (limited to 'player/timeline/tl_cue.c')
-rw-r--r-- | player/timeline/tl_cue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/timeline/tl_cue.c b/player/timeline/tl_cue.c index 8b8afeae17..d9541c5691 100644 --- a/player/timeline/tl_cue.c +++ b/player/timeline/tl_cue.c @@ -408,6 +408,7 @@ void build_cue_timeline(struct MPContext *mpctx) mpctx->num_timeline_parts = track_count + 1 - 1; mpctx->chapters = chapters; mpctx->num_chapters = track_count; + mpctx->track_layout = mpctx->timeline[0].source; out: talloc_free(ctx); |