mirror of
https://github.com/mpv-player/mpv
synced 2025-02-11 09:27:26 +00:00
ytdl_hook: iterate format list by array order
Shouldn't have any consequences. Probably makes the user-visible order more stable.
This commit is contained in:
parent
e64645540a
commit
eaa10a25c7
@ -364,7 +364,7 @@ local function add_single_video(json)
|
||||
local streams = {}
|
||||
local single_url = nil
|
||||
|
||||
for _, track in pairs(formats) do
|
||||
for index, track in ipairs(formats) do
|
||||
local edl_track = nil
|
||||
edl_track = edl_track_joined(track.fragments,
|
||||
track.protocol, json.is_live,
|
||||
|
Loading…
Reference in New Issue
Block a user