]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[hitbox] Sort formats
authorSergey M․ <dstftw@gmail.com>
Wed, 22 Apr 2015 15:01:52 +0000 (21:01 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 22 Apr 2015 15:01:52 +0000 (21:01 +0600)
youtube_dl/extractor/hitbox.py

index d7cd8bb7e6928c74786f20f3957eff0f94eb7a5c..6701fa48d9878700fc6fd8746c8e36a2ed67ef2b 100644 (file)
@@ -121,6 +121,7 @@ class HitboxIE(InfoExtractor):
                     'tbr': bitrate,
                     'format_note': label,
                 })
+        self._sort_formats(formats)
 
         metadata['formats'] = formats