This commit is contained in:
Romain Neutron 2012-05-25 15:44:43 +02:00
commit 0b74d0c30c
12 changed files with 36 additions and 37 deletions

View file

@ -29,4 +29,4 @@ class Flac extends DefaultAudioFormat
{
return array('flac');
}
}
}

View file

@ -29,4 +29,4 @@ class Mp3 extends DefaultAudioFormat
{
return array('libmp3lame');
}
}
}

View file

@ -26,4 +26,4 @@ interface AudioFormat
* @return array
*/
public function getAvailableAudioCodecs();
}
}

View file

@ -46,7 +46,7 @@ abstract class DefaultAudioFormat implements AudioFormat
* Set the audio codec, Should be in the available ones, otherwise an
* exception is thrown
*
* @param string $audioCodec
* @param string $audioCodec
* @throws \InvalidArgumentException
*/
public function setAudioCodec($audioCodec)
@ -74,7 +74,7 @@ abstract class DefaultAudioFormat implements AudioFormat
/**
* Set the audio sample rate
*
* @param int $audioSampleRate
* @param integer $audioSampleRate
* @throws \InvalidArgumentException
*/
public function setAudioSampleRate($audioSampleRate)
@ -99,7 +99,7 @@ abstract class DefaultAudioFormat implements AudioFormat
/**
* Set the kiloBitrate value
*
* @param int $kiloBitrate
* @param int integer $kiloBitrate
* @throws \InvalidArgumentException
*/
public function setKiloBitrate($kiloBitrate)

View file

@ -53,8 +53,8 @@ abstract class DefaultVideoFormat extends DefaultAudioFormat implements VideoFor
/**
* Set the dimensions
*
* @param int $width The heigth
* @param int $height The width
* @param integer $width The heigth
* @param integer $height The width
* @throws \InvalidArgumentException
*/
public function setDimensions($width, $height)
@ -83,7 +83,7 @@ abstract class DefaultVideoFormat extends DefaultAudioFormat implements VideoFor
/**
* Set the framerate
*
* @param int $frameRate
* @param integer $frameRate
* @throws \InvalidArgumentException
*/
public function setFrameRate($frameRate)
@ -109,7 +109,7 @@ abstract class DefaultVideoFormat extends DefaultAudioFormat implements VideoFor
* Set the video codec, Should be in the available ones, otherwise an
* exception is thrown
*
* @param string $videoCodec
* @param string $videoCodec
* @throws \InvalidArgumentException
*/
public function setVideoCodec($videoCodec)
@ -137,7 +137,7 @@ abstract class DefaultVideoFormat extends DefaultAudioFormat implements VideoFor
/**
* Set the GOP size
*
* @param int $GOPsize
* @param integer $GOPsize
* @throws \InvalidArgumentException
*/
public function setGOPsize($GOPsize)
@ -152,8 +152,8 @@ abstract class DefaultVideoFormat extends DefaultAudioFormat implements VideoFor
/**
* Returns the nearest multiple for a value
*
* @param int $value
* @param int $multiple
* @param integer $value
* @param integer $multiple
* @return int
*/
protected function getMultiple($value, $multiple)

View file

@ -38,4 +38,4 @@ class Ogg extends DefaultVideoFormat
{
return array('libtheora');
}
}
}

View file

@ -46,4 +46,4 @@ class WebM extends DefaultVideoFormat
{
return array('libvpx');
}
}
}

View file

@ -38,4 +38,4 @@ class X264 extends DefaultVideoFormat
{
return array('libx264');
}
}
}

View file

@ -30,4 +30,4 @@ interface VideoFormat extends AudioFormat
* @return array
*/
public function getAvailableVideoCodecs();
}
}