diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-06 15:16:43 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-06 15:16:45 +0100 |
commit | 1e1896f2de300bf1905a63adffe17e7ab68cc252 (patch) | |
tree | c8abd407e570cd95631d8e00d0503f0a7b12062f /youtube_dl/extractor | |
parent | c8319733667ff5bc0e0cbe0a9c253c8cfc7d479e (diff) |
[extractor/common] Correct sort order.
We should look at height and width before ext_preference.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index df1a4417b..980b63680 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -707,9 +707,9 @@ class InfoExtractor(object): f.get('quality') if f.get('quality') is not None else -1, f.get('tbr') if f.get('tbr') is not None else -1, f.get('vbr') if f.get('vbr') is not None else -1, - ext_preference, f.get('height') if f.get('height') is not None else -1, f.get('width') if f.get('width') is not None else -1, + ext_preference, f.get('abr') if f.get('abr') is not None else -1, audio_ext_preference, f.get('fps') if f.get('fps') is not None else -1, |