projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c10dbe
)
[screenwavemedia] Improve formats sorting
author
Sergey M․
<dstftw@gmail.com>
Sun, 28 Feb 2016 14:16:31 +0000
(20:16 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 28 Feb 2016 14:16:31 +0000
(20:16 +0600)
youtube_dl/extractor/screenwavemedia.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/screenwavemedia.py
b/youtube_dl/extractor/screenwavemedia.py
index d2af26c1ccf57377420b0594874525e9713dde22..8e77788aedaf8d8bb8a1c438fdbdec802f38ce63 100644
(file)
--- 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,