1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-15 17:49:35 +00:00

[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 @@ class HlsFD(FileDownloader):
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()