mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +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:
parent
92f9747c2b
commit
19551200d5
@ -93,7 +93,7 @@ local function edl_track_joined(fragments)
|
|||||||
local offset = 1
|
local offset = 1
|
||||||
if fragments[1] and not fragments[1].duration then
|
if fragments[1] and not fragments[1].duration then
|
||||||
-- if no duration, probably initialization segment
|
-- 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
|
offset = 2
|
||||||
end
|
end
|
||||||
for i = offset, #fragments do
|
for i = offset, #fragments do
|
||||||
|
Loading…
Reference in New Issue
Block a user