[extractor/common] Fix preference for m3u8 quality selection URL

pull/5055/head
Sergey M․ 10 years ago
parent c010af6f19
commit 9fe6ef7ab2

@ -833,7 +833,7 @@ class InfoExtractor(object):
'url': m3u8_url, 'url': m3u8_url,
'ext': ext, 'ext': ext,
'protocol': 'm3u8', 'protocol': 'm3u8',
'preference': -1, 'preference': preference - 1 if preference else -1,
'resolution': 'multiple', 'resolution': 'multiple',
'format_note': 'Quality selection URL', 'format_note': 'Quality selection URL',
}] }]

Loading…
Cancel
Save