Skip to content

A feature-rich command-line audio/video downloader

[downloader/hls] Return False if ffmpeg or avconv couldn't be found

Jaime Marquínez Ferrándizbaf2907501b6
diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py
index 40d854aa3a..32852f333a 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)