From: Sergey M․ Date: Sat, 12 May 2018 05:08:54 +0000 (+0700) Subject: [twitch:clips] Sort formats X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=07acdc5afcff3b47b26b26355a75704e3cda670f;p=youtube-dl [twitch:clips] Sort formats --- diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index ec96ae506..3ee2af52e 100644 --- a/youtube_dl/extractor/twitch.py +++ b/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, }