[downloader/hls] Return False if ffmpeg or avconv couldn't be found
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 27 Aug 2014 13:50:03 +0000 (15:50 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 27 Aug 2014 13:50:47 +0000 (15:50 +0200)
youtube_dl/downloader/hls.py

index 40d854aa3a10cf378066dec11e093ae163a9feb9..32852f333a0a6329f48ef2d690555d218d4228c5 100644 (file)
@@ -24,6 +24,7 @@ class HlsFD(FileDownloader):
                 break
         else:
             self.report_error(u'm3u8 download detected but ffmpeg or avconv could not be found. Please install one.')
+            return False
         cmd = [program] + args
 
         retval = subprocess.call(cmd)