[downloader/hls] Fix detection of ffmpeg/avconv (reported in #4966)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 17 Feb 2015 15:40:42 +0000 (16:40 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Tue, 17 Feb 2015 15:40:42 +0000 (16:40 +0100)
youtube_dl/downloader/hls.py

index 8be4f424907e55adfac91af5eb587b62b54b8487..3650d715ee2672bc6bd12090fd580cf8095789f7 100644 (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()