| 
									
										
										
										
											2012-04-13 11:35:55 +02:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-04-13 12:45:41 +02:00
										 |  |  | namespace FFMpeg\Format\Video; | 
					
						
							| 
									
										
										
										
											2012-04-13 11:35:55 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | class OggTest extends \PHPUnit_Framework_TestCase | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * @var Ogg | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     protected $object; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     protected function setUp() | 
					
						
							|  |  |  |     { | 
					
						
							| 
									
										
										
										
											2012-05-25 18:24:37 +02:00
										 |  |  |         $this->object = new Ogg(); | 
					
						
							|  |  |  |         $this->object->setDimensions(320, 320); | 
					
						
							| 
									
										
										
										
											2012-04-13 11:35:55 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							| 
									
										
										
										
											2012-04-13 12:45:41 +02:00
										 |  |  |      * @covers FFMpeg\Format\Video\Ogg::getAvailableAudioCodecs | 
					
						
							| 
									
										
										
										
											2012-04-13 11:35:55 +02:00
										 |  |  |      */ | 
					
						
							|  |  |  |     public function testGetAvailableAudioCodecs() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         $this->object->setAudioCodec('libvorbis'); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							| 
									
										
										
										
											2012-04-13 12:45:41 +02:00
										 |  |  |      * @covers FFMpeg\Format\Video\Ogg::getAvailableVideoCodecs | 
					
						
							| 
									
										
										
										
											2012-04-13 11:35:55 +02:00
										 |  |  |      */ | 
					
						
							|  |  |  |     public function testGetAvailableVideoCodecs() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         $this->object->setVideoCodec('libtheora'); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |