mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[downloader/hls] Return False if ffmpeg or avconv couldn't be found
This commit is contained in:
parent
3c765c68c4
commit
baf2907501
@ -24,6 +24,7 @@ def real_download(self, filename, info_dict):
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user