mirror of https://github.com/mpv-player/mpv
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:
parent
b230525352
commit
27a09b42ed
|
@ -327,7 +327,8 @@ local function add_single_video(json)
|
||||||
for i = 1, #streams do
|
for i = 1, #streams do
|
||||||
streams[i] = edl_escape(streams[i])
|
streams[i] = edl_escape(streams[i])
|
||||||
end
|
end
|
||||||
streamurl = "edl://" .. table.concat(streams, ";!new_stream;") .. ";"
|
streamurl = "edl://!no_chapters;" ..
|
||||||
|
table.concat(streams, ";!new_stream;") .. ";"
|
||||||
else
|
else
|
||||||
streamurl = streams[1]
|
streamurl = streams[1]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue