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

This commit is contained in:
Sergey M․ 2015-02-23 03:30:10 +06:00
parent c010af6f19
commit 9fe6ef7ab2

View file

@ -833,7 +833,7 @@ def _extract_m3u8_formats(self, m3u8_url, video_id, ext=None,
'url': m3u8_url,
'ext': ext,
'protocol': 'm3u8',
'preference': -1,
'preference': preference - 1 if preference else -1,
'resolution': 'multiple',
'format_note': 'Quality selection URL',
}]