Add audio formats MP3 and Flac

This commit is contained in:
Romain Neutron 2012-04-13 14:15:56 +02:00
commit 5b53381904
9 changed files with 123 additions and 5 deletions

View file

@ -107,7 +107,7 @@ class DefaultAudioFormatTest extends \PHPUnit_Framework_TestCase
*/
public function testGetKiloBitrate()
{
$this->assertEquals(1000, $this->object->getKiloBitrate());
$this->assertEquals(128, $this->object->getKiloBitrate());
}
/**

View file

@ -187,6 +187,14 @@ class DefaultVideoFormatTest extends \PHPUnit_Framework_TestCase
$this->assertEquals(16, $this->object->getMultiple(8, 16));
}
/**
* @covers FFMpeg\Format\DefaultVideoFormat::getKiloBitrate
*/
public function testGetKiloBitrate()
{
$this->assertEquals(1000, $this->object->getKiloBitrate());
}
}
class DefaultVideoFormatTester extends DefaultVideoFormat