mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-02 10:20:23 +00:00
Ensure mergeall
selects best format when multistreams are disabled
This commit is contained in:
@@ -1650,8 +1650,8 @@ class YoutubeDL(object):
|
||||
formats = list(ctx['formats'])
|
||||
if not formats:
|
||||
return
|
||||
merged_format = formats[0]
|
||||
for f in formats[1:]:
|
||||
merged_format = formats[-1]
|
||||
for f in formats[-2::-1]:
|
||||
merged_format = _merge((merged_format, f))
|
||||
yield merged_format
|
||||
|
||||
|
Reference in New Issue
Block a user