[downloader/hls] Fix detection of ffmpeg/avconv (reported in #4966)

This commit is contained in:
Jaime Marquínez Ferrándiz 2015-02-17 16:40:42 +01:00
parent 662435f728
commit fbc503d696

View file

@ -23,7 +23,7 @@ def real_download(self, filename, info_dict):
tmpfilename = self.temp_name(filename)
ffpp = FFmpegPostProcessor(downloader=self)
if not ffpp.available:
if not ffpp.available():
self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.')
return False
ffpp.check_version()