[twitch:clips] Sort formats
authorSergey M․ <dstftw@gmail.com>
Sat, 12 May 2018 05:08:54 +0000 (12:08 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 12 May 2018 05:08:54 +0000 (12:08 +0700)
youtube_dl/extractor/twitch.py

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