projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c010af6
)
[extractor/common] Fix preference for m3u8 quality selection URL
author
Sergey M․
<dstftw@gmail.com>
Sun, 22 Feb 2015 21:30:10 +0000
(
03:30
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 22 Feb 2015 21:30:10 +0000
(
03:30
+0600)
youtube_dl/extractor/common.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/common.py
b/youtube_dl/extractor/common.py
index d3f86cf4a0f82a393dbd7c50ccdc9d747bf08460..79f6d199b4190664e62cddc59c6c3d46d785d49f 100644
(file)
--- 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',
}]