[viki] Prefer hls

This commit is contained in:
Sergey M․ 2016-11-26 00:14:09 +07:00
parent 9338a0eae3
commit 560c8c6ec0
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -284,7 +284,7 @@ class VikiIE(VikiBaseIE):
if format_id == 'm3u8': if format_id == 'm3u8':
m3u8_formats = self._extract_m3u8_formats( m3u8_formats = self._extract_m3u8_formats(
format_url, video_id, 'mp4', format_url, video_id, 'mp4',
entry_protocol='m3u8_native', preference=-1, entry_protocol='m3u8_native',
m3u8_id='m3u8-%s' % protocol, fatal=False) m3u8_id='m3u8-%s' % protocol, fatal=False)
# Despite CODECS metadata in m3u8 all video-only formats # Despite CODECS metadata in m3u8 all video-only formats
# are actually video+audio # are actually video+audio