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 osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
console.lua console: fix typo in previous commit 2020-02-07 14:05:04 +01:00
defaults.lua lua: use new OSD property 2020-01-08 00:16:58 +01:00
options.lua options.lua: avoid unnecessary on_update calls 2020-02-06 22:57:53 +01:00
osc.lua osc: use cache state cache-duration field 2020-02-07 16:16:18 +01:00
stats.lua stats: fix incorrect ass formatting on 3rd page when vo was switched 2020-02-06 22:57:53 +01:00
ytdl_hook.lua ytdl_hook.lua: delay load subtitles 2020-02-15 18:30:42 +01:00