projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1aadd0
)
[common] correctly lower the preference of m3u8 master manifest format
author
Remita Amine
<remitamine@gmail.com>
Sun, 7 Aug 2016 09:58:11 +0000
(10:58 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sun, 7 Aug 2016 09:59:09 +0000
(10:59 +0100)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index 67f49f51b52c85c488851903e309c38c217f23dc..0891309dd506dab2f7c44c256fdd6203e846be80 100644
(file)
--- 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',
}