Browse Source

[screenwavemedia] Improve formats sorting

totalwebcasting
Sergey M․ 9 years ago
parent
commit
2b2dfae83e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/screenwavemedia.py

+ 1
- 1
youtube_dl/extractor/screenwavemedia.py View File

@ -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,


Loading…
Cancel
Save