1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

edl: add mechanism for delay loading streams

Add something that will access an URL embedded in EDL only when the
track it corresponds to is actually selected. This is meant to help with
ytdl_hook.lua and to improve loading speeds.

In theory, all this stuff is available to any mpv user, but discourage
using it, as it's so specialized towards ytdl_hook.lua, that there's
danger we'll just break this once ytdl_hook.lua stops using it, or
similar.

Mostly untested.
This commit is contained in:
wm4 2020-02-15 18:09:28 +01:00
parent 1d53a8f2e7
commit c92c08edc6
5 changed files with 219 additions and 33 deletions