mpv/player/lua
wm4 29e15e6248 ytdl_hook.lua: delay load subtitles
Uses the infrastructure added in the previous commits. This is
admittedly a bit weird (constructing EDL URLs and such). But on the
other hand, adding this as "first class" mechanism directly to the
sub-add command or so would increase weirdness and unexpected behavior
in other places, or at least that's what I think.

To reduce confusion, this goes through the effort of mapping the webvtt
codec, so it's shown "properly" in the codec list. Without this it would
show "null", but still work. In particular, any non-webvtt codecs should
still work if libavcodec supports it.

Not sure if I should remove the --all-subs hack from the code. But I
guess it does no harm.
2020-02-15 18:30:42 +01:00
..
assdraw.lua
console.lua
defaults.lua
options.lua
osc.lua osc: use cache state cache-duration field 2020-02-07 16:16:18 +01:00
stats.lua
ytdl_hook.lua ytdl_hook.lua: delay load subtitles 2020-02-15 18:30:42 +01:00