mpv/player
wm4 f6c81047fa 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
2020-04-13 15:56:52 +02:00
..
javascript js: osd-overlay update: return the command result (match 7a76b577) 2020-03-07 12:37:35 +02:00
lua stats: support UP/DOWN to scroll at page 4 (perf) 2020-04-11 16:04:46 +03:00
audio.c f_decoder_wrapper: replace most public fields with setters/getters 2020-02-29 01:23:20 +01:00
client.c client API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c command: print edition title to OSD when cycling 2020-04-13 01:04:32 +02:00
command.h command: use client IDs for hooks 2020-03-26 23:40:25 +01:00
configfiles.c player: fix minor coding style issue 2020-01-26 14:29:48 +01:00
core.h player, stats: more silly debug stuff 2020-04-10 00:55:39 +02:00
external_files.c
external_files.h
javascript.c js: make wait_event autofree 2020-03-22 00:53:30 +02:00
loadfile.c player: do not fall back to a default track with explicit selections 2020-04-13 15:56:52 +02:00
lua.c lua: wrap existing allocator instead of reimplementing it 2020-04-09 02:21:09 +02:00
main.c player, ta: remove use of an old macro 2020-04-13 15:56:27 +02:00
misc.c player: dumb seeking related stuff, make audio hr-seek default 2020-02-28 17:15:07 +01:00
osd.c f_decoder_wrapper: replace most public fields with setters/getters 2020-02-29 01:23:20 +01:00
playloop.c player, stats: more silly debug stuff 2020-04-10 00:55:39 +02:00
screenshot.c screenshot: fix typo in comment 2020-02-07 13:42:42 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
sub.c player: partially fix backward playback display of cached text subtitles 2020-02-04 20:26:35 +01:00
video.c video: remove another redundant wakeup 2020-04-10 01:33:38 +02:00