summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-20 20:02:58 +0200
committerwm4 <wm4@nowhere>2014-07-20 20:13:08 +0200
commit61efe87e48d3c929b9a88328a63820307d133d04 (patch)
tree67fb51cc18be8d2892e6f921d7f99201c849d68b /demux/demux.c
parentd320695207abe9c77dff9ce1181c6db7bc2d6b27 (diff)
downloadmpv-61efe87e48d3c929b9a88328a63820307d133d04.tar.bz2
mpv-61efe87e48d3c929b9a88328a63820307d133d04.tar.xz
player: fix regression with ordered chapters
Broken by commit 1301a907. This commit added demuxer threading, and changed some other things to make them simpler and more orthogonal. One of these things was ntofications about streams that appear during playback. That's an obscure corner case, but the change made handling of it as natural as normal initialization. This didn't work for two reasons: 1. When playing an ordered chapters file where the initial segment was not from the main file, its streams were added to the track list. So they were printed twice, and switching to the next segment didn't work, because the right streams were not selected. 2. EDL, CUE, as well as possibly certain Matroska files don't have any data or tracks in the "main" demuxer, so normally the first segment is picked for the track list. This was simply broken. Fix by sprinkling the code with various hacks.
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions