1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-26 12:11:52 +00:00

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

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-08-27 15:50:03 +02:00
parent 3c765c68c4
commit baf2907501

View file

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