[cleanup] Misc

This commit is contained in:
pukkandan 2022-07-31 03:35:16 +05:30
parent daef791100
commit 31b532a1f2
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
6 changed files with 20 additions and 20 deletions

View file

@ -3562,8 +3562,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
formats.extend(self._extract_storyboard(player_responses, duration))
# Source is given priority since formats that throttle are given lower source_preference
# When throttling issue is fully fixed, remove this
# source_preference is lower for throttled/potentially damaged formats
self._sort_formats(formats, ('quality', 'res', 'fps', 'hdr:12', 'source', 'codec:vp9.2', 'lang', 'proto'))
info = {