This commit is contained in:
grosroro 2012-05-31 16:16:35 +02:00
commit 44e6eb6f79
7 changed files with 20 additions and 21 deletions

View file

@ -25,11 +25,11 @@ interface Audio
* @return integer
*/
public function getKiloBitrate();
/**
* Give som extra parameters to add to ffmpeg commandline
* Parameters MUST be escaped
*
*
* @return string
*/
public function getExtraParams();

View file

@ -15,7 +15,7 @@ use FFMpeg\Exception\InvalidArgumentException;
/**
* Dimension object, used for manipulating width and height couples
*
*
* @author Romain Neutron imprec@gmail.com
*/
class Dimension
@ -25,9 +25,9 @@ class Dimension
/**
* Constructor
*
* @param integer $width
* @param integer $height
*
* @param integer $width
* @param integer $height
* @throws InvalidArgumentException when one of the parameteres is invalid
*/
public function __construct($width, $height)
@ -42,7 +42,7 @@ class Dimension
/**
* Return width
*
*
* @return width
*/
public function getWidth()
@ -52,7 +52,7 @@ class Dimension
/**
* Return height
*
*
* @return integer
*/
public function getHeight()

View file

@ -18,5 +18,5 @@ namespace FFMpeg\Format;
*/
interface Video extends Audio
{
}

View file

@ -28,9 +28,9 @@ interface Resizable extends BaseVideo
* Returns the computed dimensions for the resize, after operation.
* This method return the actual dimensions that FFmpeg will use.
*
* @param integer $originalWidth
* @param integer $originalHeight
* @return Dimension A dimension
* @param integer $originalWidth
* @param integer $originalHeight
* @return Dimension A dimension
*/
public function getComputedDimensions($originalWidth, $originalHeight);
}

View file

@ -12,7 +12,6 @@
namespace FFMpeg\Format\Video;
use FFMpeg\Format\Video as BaseVideo;
use FFMpeg\Format\Dimension;
/**
* @author Romain Neutron imprec@gmail.com