]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[hls] Switch to available as a property
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 16:35:03 +0000 (17:35 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 17 Feb 2015 16:35:03 +0000 (17:35 +0100)
youtube_dl/downloader/hls.py

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