[screenwavemedia] Improve formats sorting

pull/2/head
Sergey M․ 9 years ago
parent 6c10dbeae9
commit 2b2dfae83e

@ -88,7 +88,7 @@ class ScreenwaveMediaIE(InfoExtractor):
'ext': source.get('type'), 'ext': source.get('type'),
'height': height, 'height': height,
}) })
self._sort_formats(formats) self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
return { return {
'id': video_id, 'id': video_id,

Loading…
Cancel
Save