1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
mpv/player
Dudemanguy 6179995dd7 player/loadfile: set track->forced_select outside of compare_track
This field is used by compare_track when determining if the next track
should be preferred. The only problem is that we were only setting this
in compare_track which isn't used for the very first subtitle track
selection. So if the first subtitle track was a forced track that was
selected, this wasn't marked and the next subtitle track could
mistakenly be detected as preferred. Fix this by setting the field after
we set pick equal to the track in select_default track. Fixes #13804.
2024-04-02 11:19:25 -05:00
..
javascript js: complex key-binding: send also key_text 2024-02-09 16:54:57 +02:00
lua console.lua: complete fixed precision properties 2024-03-21 08:54:58 +01:00
audio.c player/video: subtract frame_time from delay when ao_chain starts audio 2024-03-03 16:24:28 -06:00
client.c various: fix -Wold-style-declaration warning 2024-03-19 08:58:18 +01:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c player/command: optimize duplicated property search in command_init 2024-03-25 15:56:06 +01:00
command.h options: add --input-commands option 2024-03-21 14:48:53 +00:00
configfiles.c player: fix watch later config comments when ignoring path 2024-02-24 05:26:48 +00:00
core.h Revert "player: reset av state on speed changes" 2024-03-03 16:27:59 -06:00
external_files.c command: restore lang after track reload 2024-01-20 17:26:45 +00:00
external_files.h command: restore lang after track reload 2024-01-20 17:26:45 +00:00
javascript.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
loadfile.c player/loadfile: set track->forced_select outside of compare_track 2024-04-02 11:19:25 -05:00
lua.c scripting: add mp.input 2024-01-13 02:53:08 +00:00
main.c mac/apphub: migrate remaining events functionality to new AppHub 2024-03-24 23:03:48 +01:00
meson.build meson: generate .com in the same place as the .exe if possible 2023-11-27 18:42:19 +00:00
misc.c player: change insert_next to insert_at 2024-02-26 02:03:21 +00:00
osd.c player: remove --term-remaining-playtime option 2024-01-20 23:24:48 +00:00
playloop.c options: add --input-commands option 2024-03-21 14:48:53 +00:00
screenshot.c image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
sub.c player/sub: avoid wasteful subtitle redraws 2024-02-15 16:43:11 +00:00
video.c video: also reset video-sync state when resetting video state 2024-03-30 09:46:48 +01:00