diff options
author | wm4 <wm4@nowhere> | 2020-04-13 15:55:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-13 15:56:52 +0200 |
commit | f6c81047fa5a9199084fa92327c41c6d8a16b059 (patch) | |
tree | 0df3a581b4f1d3e23a88e44ab53cae1e087c9bbb /test | |
parent | e1e714ccc339c24b43179aa36f7f5f61865e2e98 (diff) | |
download | mpv-f6c81047fa5a9199084fa92327c41c6d8a16b059.tar.bz2 mpv-f6c81047fa5a9199084fa92327c41c6d8a16b059.tar.xz |
player: do not fall back to a default track with explicit selections
Consider e.g. --aid=2 with a file that has only 1 track. Then it would
fall back to selecting track 1. Stop doing this. If no matching track is
found, this will not select any track now.
Note that the fingerprint stuff (track_layout_hash in the source)
prevents softens the impact of this change. Without the fingerprint,
playing a dual-audio file with the second track selected, and then a
single-audio file, would play the second file without audio. But the
fingerprint resets it due to differences in the track list.
Try to exhaustively document this and tricky interactions between the
other features. What a damn mess, I think it's simply cursed. Of course
it's still my fault.
See: #7608
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions