Browse Source

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

Jaime Marquínez Ferrándiz 10 years ago
parent
commit
fbc503d696
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/downloader/hls.py

+ 1 - 1
youtube_dl/downloader/hls.py

@@ -23,7 +23,7 @@ class HlsFD(FileDownloader):
         tmpfilename = self.temp_name(filename)
         tmpfilename = self.temp_name(filename)
 
 
         ffpp = FFmpegPostProcessor(downloader=self)
         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.')
             self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.')
             return False
             return False
         ffpp.check_version()
         ffpp.check_version()