added possibility to set timeout
This commit is contained in:
		
					parent
					
						
							
								d7bb7bd091
							
						
					
				
			
			
				commit
				
					
						fa651da41a
					
				
			
		
					 2 changed files with 10 additions and 1 deletions
				
			
		|  | @ -179,6 +179,8 @@ class FFMpeg extends Binary | |||
| 
 | ||||
|         $builder = ProcessBuilder::create($options); | ||||
|         $process = $builder->getProcess(); | ||||
|         $process->setTimeout($this->timeout); | ||||
| 
 | ||||
| 
 | ||||
|         $this->logger->addInfo(sprintf('FFmpeg executes command %s', $process->getCommandline())); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue