aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-02-23 03:30:10 +0600
committerSergey M․ <dstftw@gmail.com>2015-02-23 03:30:10 +0600
commit9fe6ef7ab249af1bd8f302d37dc6c13a2e4817f1 (patch)
tree16aa42291edb4ca99250d1f825c780c53549e792 /youtube_dl/extractor/common.py
parentc010af6f195c2e84aec7d0ddec060fcbe9c45089 (diff)
[extractor/common] Fix preference for m3u8 quality selection URL
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index d3f86cf4a..79f6d199b 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -833,7 +833,7 @@ class InfoExtractor(object):
'url': m3u8_url,
'ext': ext,
'protocol': 'm3u8',
- 'preference': -1,
+ 'preference': preference - 1 if preference else -1,
'resolution': 'multiple',
'format_note': 'Quality selection URL',
}]