1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-22 11:18:32 +00:00

ytdl_hook: fix mp4_dash with init fragment

Randomly broke.
This commit is contained in:
wm4 2019-01-14 18:59:14 +01:00
parent 0d2af0c946
commit 5279011c00

View File

@ -229,7 +229,7 @@ local function edl_track_joined(fragments, protocol, is_live, base)
-- assume MP4 DASH initialization segment
if not fragments[1].duration then
msg.debug("Using init segment")
args = args .. "init=" .. edl_escape(join_url(base, fragments[1]))
args = args .. ",init=" .. edl_escape(join_url(base, fragments[1]))
offset = 2
end