ytdl_hook: disable EDL-generated useless chapters when merging streams

(Yes, a bit odd how this header is needed only for the first stream.)
This commit is contained in:
wm4 2019-01-05 08:45:10 +01:00
parent b230525352
commit 27a09b42ed
1 changed files with 2 additions and 1 deletions

View File

@ -327,7 +327,8 @@ local function add_single_video(json)
for i = 1, #streams do
streams[i] = edl_escape(streams[i])
end
streamurl = "edl://" .. table.concat(streams, ";!new_stream;") .. ";"
streamurl = "edl://!no_chapters;" ..
table.concat(streams, ";!new_stream;") .. ";"
else
streamurl = streams[1]
end