1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 15:16:57 +01: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()