0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/player
Guido Cella dffc37dcfa external_files: detect language tags with hyphens
This loads subtitle files like foo.en-US.srt with --sub-auto=exact.

To preserve the case of these locales and not convert them to e.g.
en-us, stop lower casing filenames, and instead use case insensitive
functions to check if the media filename is contained in the external
filenames. Extensions, whitelisted cover art filenames and idx files
were already being compared case insensitively.

Fixes #12372, fixes #13251.
2024-05-10 01:22:31 +02:00
..
javascript js: fix defaults.js 2024-05-07 22:57:53 +02:00
lua scripting: add mp.input.select() 2024-05-07 22:34:22 +02: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 player/client: fix typo in description of MPV_ERROR_UNINITIALIZED 2024-05-08 18:52:40 +02:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c various: fix indentation 2024-05-07 11:23:08 +02:00
command.h options: add --input-commands option 2024-03-21 14:48:53 +00:00
configfiles.c player/configfiles: fix utime.h include for Windows SDK 2024-05-06 22:01:17 +02:00
core.h player: avoid busy looping during reinit_sub 2024-04-16 19:45:00 +00:00
external_files.c external_files: detect language tags with hyphens 2024-05-10 01:22:31 +02:00
external_files.h command: restore lang after track reload 2024-01-20 17:26:45 +00:00
javascript.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
loadfile.c player/loadfile: match language and subcodes 2024-05-09 17:12:55 +02:00
lua.c scripting: add mp.input.select() 2024-05-07 22:34:22 +02:00
main.c various: fix indentation 2024-05-07 11:23:08 +02: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/misc: fix audio-only fallback when video init fails 2024-04-16 22:19:55 +00:00
osd.c demux: keep track of ts information per stream type 2024-05-05 14:11:47 +02:00
playloop.c demux: keep track of ts information per stream type 2024-05-05 14:11:47 +02: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 win32: fix platform checks 2024-05-06 22:01:17 +02:00
sub.c player: avoid busy looping during reinit_sub 2024-04-16 19:45:00 +00:00
video.c video: also reset video-sync state when resetting video state 2024-03-30 09:46:48 +01:00