summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-02-05 16:02:22 +0100
committerwm4 <wm4@nowhere>2017-02-05 16:02:22 +0100
commit19551200d57bcaba8d665f842208a9296129df62 (patch)
treeacd7f81c8d8ae87d139aba90d151599f2171f6a6
parent92f9747c2bd28816824e8edfa503a65bc500f20c (diff)
downloadmpv-19551200d57bcaba8d665f842208a9296129df62.tar.bz2
mpv-19551200d57bcaba8d665f842208a9296129df62.tar.xz
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.
-rw-r--r--player/lua/ytdl_hook.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua
index ddb699cb48..b12f740d80 100644
--- a/player/lua/ytdl_hook.lua
+++ b/player/lua/ytdl_hook.lua
@@ -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