diff options
author | Umar Javed <umarjaved2121@gmail.com> | 2021-11-14 17:30:04 +0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-11-15 15:08:22 +0100 |
commit | 923c0f03704ed3d5caea089245a9c6ff74071bb0 (patch) | |
tree | c2575df29ac1ce3ac3c7efd98effbb8b0cef1c76 /ta | |
parent | b44f522dba55c9e9031328e70209493111eea757 (diff) | |
download | mpv-923c0f03704ed3d5caea089245a9c6ff74071bb0.tar.bz2 mpv-923c0f03704ed3d5caea089245a9c6ff74071bb0.tar.xz |
ytdl_hook.lua: improve check for sub language before inserting all-subs
youtube-dl and yt-dlp both support --sub-langs and --srt-lang in
addition to --sub-lang for defining languages of subtitles. This hook
only checked for sub-lang in --ytdl-raw-options and inserted --all-subs
in its absence.
Diffstat (limited to 'ta')
0 files changed, 0 insertions, 0 deletions