Browse Source

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

totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
baf2907501
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/downloader/hls.py

+ 1
- 0
youtube_dl/downloader/hls.py 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)


Loading…
Cancel
Save