diff options
author | Remita Amine <[email protected]> | 2016-08-07 10:58:11 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2016-08-07 10:59:09 +0100 |
commit | 37768f92422c2cf61a961dbaf54d61dabd364506 (patch) | |
tree | 7766cf8cf9e6abf2f8c51ec36cc890ec4da614f3 /youtube_dl/extractor/common.py | |
parent | a1aadd09a4721ffd4d782aae4ddeae2699ca17fa (diff) | |
download | youtube-dl-37768f92422c2cf61a961dbaf54d61dabd364506.tar.gz youtube-dl-37768f92422c2cf61a961dbaf54d61dabd364506.zip |
[common] correctly lower the preference of m3u8 master manifest format
Diffstat (limited to 'youtube_dl/extractor/common.py')
-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 67f49f51b..0891309dd 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -1140,7 +1140,7 @@ class InfoExtractor(object): 'url': m3u8_url, 'ext': ext, 'protocol': 'm3u8', - 'preference': -100, + 'preference': preference - 100 if preference else -100, 'resolution': 'multiple', 'format_note': 'Quality selection URL', } |