Add Format tests
This commit is contained in:
		
					parent
					
						
							
								eec7e3f2dd
							
						
					
				
			
			
				commit
				
					
						7491db22e2
					
				
			
		
					 2 changed files with 320 additions and 1 deletions
				
			
		|  | @ -21,7 +21,7 @@ abstract class DefaultFormat implements Format | |||
| 
 | ||||
|     public function getExtraParams() | ||||
|     { | ||||
| 
 | ||||
|         return ''; | ||||
|     } | ||||
| 
 | ||||
|     public function getWidth() | ||||
|  | @ -133,6 +133,11 @@ abstract class DefaultFormat implements Format | |||
| 
 | ||||
|     public function setGOPsize($GOPsize) | ||||
|     { | ||||
|         if ($GOPsize < 1) | ||||
|         { | ||||
|             throw new \InvalidArgumentException('Wrong GOP size value'); | ||||
|         } | ||||
| 
 | ||||
|         $this->GOPsize = (int) $GOPsize; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue