Browse Source

[twitch:clips] Sort formats

Sergey M․ 7 năm trước cách đây
mục cha
commit
07acdc5afc
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      youtube_dl/extractor/twitch.py

+ 2 - 0
youtube_dl/extractor/twitch.py

@@ -673,6 +673,8 @@ class TwitchClipsIE(TwitchBaseIE):
                 'fps': int_or_none(option.get('frame_rate')),
             })
 
+        self._sort_formats(formats)
+
         info = {
             'formats': formats,
         }