35 lines
665 B
PHP
35 lines
665 B
PHP
<?php
|
|
|
|
namespace FFMpeg\Format\Video;
|
|
|
|
class OggTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
|
|
/**
|
|
* @var Ogg
|
|
*/
|
|
protected $object;
|
|
|
|
protected function setUp()
|
|
{
|
|
$this->object = new Ogg();
|
|
$this->object->setDimensions(320, 320);
|
|
}
|
|
|
|
/**
|
|
* @covers FFMpeg\Format\Video\Ogg::getAvailableAudioCodecs
|
|
*/
|
|
public function testGetAvailableAudioCodecs()
|
|
{
|
|
$this->object->setAudioCodec('libvorbis');
|
|
}
|
|
|
|
/**
|
|
* @covers FFMpeg\Format\Video\Ogg::getAvailableVideoCodecs
|
|
*/
|
|
public function testGetAvailableVideoCodecs()
|
|
{
|
|
$this->object->setVideoCodec('libtheora');
|
|
}
|
|
|
|
}
|