This commit is contained in:
Jake Holland 2015-05-12 16:00:59 -07:00
parent c1c924abfe
commit 9937190b73

View File

@ -914,6 +914,9 @@ class YoutubeDL(object):
if not available_formats:
return None
if not FFmpegMergerPP(self).available:
available_formats = filter(lambda x: x.get(u'protocol') != u'm3u8', available_formats)
if format_spec in ['best', 'worst', None]:
format_idx = 0 if format_spec == 'worst' else -1
audiovideo_formats = [