mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-03-06 14:20:19 +00:00
[extractor] Fix format sorting of channels
This commit is contained in:
@@ -3588,7 +3588,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
formats.extend(self._extract_storyboard(player_responses, duration))
|
||||
|
||||
# source_preference is lower for throttled/potentially damaged formats
|
||||
self._sort_formats(formats, ('quality', 'res', 'fps', 'hdr:12', 'channels', 'source', 'codec:vp9.2', 'lang', 'proto'))
|
||||
self._sort_formats(formats, (
|
||||
'quality', 'res', 'fps', 'hdr:12', 'source', 'vcodec:vp9.2', 'channels', 'acodec', 'lang', 'proto'))
|
||||
|
||||
info = {
|
||||
'id': video_id,
|
||||
|
||||
Reference in New Issue
Block a user