diff options
author | wm4 <wm4@nowhere> | 2013-04-14 02:35:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-20 23:28:23 +0200 |
commit | 5d562c5ef299873d104be01ff198d1befda36392 (patch) | |
tree | 5e40b703794d3a2ffd1a507a2219eaf4adb2afa2 /talloc.c | |
parent | 8133aa4d8a6ad64132b2d529ceb1846c3c852987 (diff) | |
download | mpv-5d562c5ef299873d104be01ff198d1befda36392.tar.bz2 mpv-5d562c5ef299873d104be01ff198d1befda36392.tar.xz |
mplayer: take tracks from first segment if main file is empty
With Matroska ordered chapters, the main file (i.e. the file you're
playing) can be empty, while all video/audio data is in linked files.
Some files don't even contain the track list, only chapter information.
mpv refused to play these, because normally, the main file dictates the
track layout.
Fix this by using the first segment for track data if no part of the
timeline is sourced from the main file.
Diffstat (limited to 'talloc.c')
0 files changed, 0 insertions, 0 deletions