Add doc blocks

This commit is contained in:
Romain Neutron 2012-04-13 15:42:10 +02:00
commit 53efcb255f
5 changed files with 60 additions and 8 deletions

View file

@ -13,18 +13,29 @@ namespace FFMpeg\Format\Video;
use FFMpeg\Format\DefaultVideoFormat;
/**
* The X264 video format
*
* @author Romain Neutron imprec@gmail.com
*/
class X264 extends DefaultVideoFormat
{
protected $audioCodec = 'libmp3lame';
protected $videoCodec = 'libx264';
protected function getAvailableAudioCodecs()
/**
* {@inheritDoc}
*/
public function getAvailableAudioCodecs()
{
return array('libvo_aacenc', 'libfaac', 'libmp3lame');
}
protected function getAvailableVideoCodecs()
/**
* {@inheritDoc}
*/
public function getAvailableVideoCodecs()
{
return array('libx264');
}