diff options
author | wm4 <wm4@nowhere> | 2020-02-15 18:28:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-02-15 18:30:42 +0100 |
commit | 29e15e62487b81b79e6fd0b9ff0710dea35f443e (patch) | |
tree | 5a0e4be5dd5d620eee5a2f9df8601f71f1f75d6e /misc/rendezvous.c | |
parent | e54ebaec5229f9f82bc6b77cef5c5b75b7577487 (diff) | |
download | mpv-29e15e62487b81b79e6fd0b9ff0710dea35f443e.tar.bz2 mpv-29e15e62487b81b79e6fd0b9ff0710dea35f443e.tar.xz |
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.
Diffstat (limited to 'misc/rendezvous.c')
0 files changed, 0 insertions, 0 deletions