diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-28 20:16:31 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-28 20:16:31 +0600 |
commit | 2b2dfae83ef80f86e9983ded3c4514b58b1eed60 (patch) | |
tree | e5bca27216b74dd676f796d0d79a58f5e840e578 /youtube_dl/extractor/screenwavemedia.py | |
parent | 6c10dbeae948b491b538f70481ee5b348a636067 (diff) |
[screenwavemedia] Improve formats sorting
Diffstat (limited to 'youtube_dl/extractor/screenwavemedia.py')
-rw-r--r-- | youtube_dl/extractor/screenwavemedia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/screenwavemedia.py b/youtube_dl/extractor/screenwavemedia.py index d2af26c1c..8e77788ae 100644 --- a/youtube_dl/extractor/screenwavemedia.py +++ b/youtube_dl/extractor/screenwavemedia.py @@ -88,7 +88,7 @@ class ScreenwaveMediaIE(InfoExtractor): 'ext': source.get('type'), 'height': height, }) - self._sort_formats(formats) + self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id')) return { 'id': video_id, |