浏览代码

[twitch:clips] Sort formats

Sergey M․ 7 年之前
父节点
当前提交
07acdc5afc
共有 1 个文件被更改,包括 2 次插入0 次删除
  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,
         }