1
0
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:
wm4 2020-02-20 12:17:59 +01:00
parent e64645540a
commit eaa10a25c7

View File

@ -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,