1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00

ytdl_hook: fix EDL syntax

All entries must be separated by ";" or "\n". The parser just doesn't
enforce it if an entry uses quoting.
This commit is contained in:
wm4 2017-02-05 16:02:22 +01:00
parent 92f9747c2b
commit 19551200d5

View File

@ -93,7 +93,7 @@ local function edl_track_joined(fragments)
local offset = 1
if fragments[1] and not fragments[1].duration then
-- if no duration, probably initialization segment
edl = edl .. "!mp4_dash,init=" .. edl_escape(fragments[1].url)
edl = edl .. "!mp4_dash,init=" .. edl_escape(fragments[1].url) .. ";"
offset = 2
end
for i = offset, #fragments do