mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-22 18:58:38 +08:00
8735974d12
This test requires that the OS language settings be English so the --subs-match-os-language option is actually testable. In Linux, this can be done by just setting LANG and it always will work. For macOS and Windows, we use the OS APIs to get the languages and let the test proceed if we find English. Gracefully fail and skip otherwise.