[downloader/hls] Return False if ffmpeg or avconv couldn't be found
This commit is contained in:
		
							parent
							
								
									3c765c68c4
								
							
						
					
					
						commit
						baf2907501
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue