aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-08-27 15:50:03 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2014-08-27 15:50:47 +0200
commitbaf2907501b676df04f98e0ebf8bfaf4ace6e791 (patch)
treef820afe997e08b23be4bb84845188a9eecc11124
parent3c765c68c48ccee617ea777214327022e01f715a (diff)
[downloader/hls] Return False if ffmpeg or avconv couldn't be found
-rw-r--r--youtube_dl/downloader/hls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py
index 40d854aa3..32852f333 100644
--- a/youtube_dl/downloader/hls.py
+++ b/youtube_dl/downloader/hls.py
@@ -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)