Fix CS
This commit is contained in:
parent
9f8c23dc97
commit
44e6eb6f79
7 changed files with 20 additions and 21 deletions
|
|
@ -117,7 +117,7 @@ class FFMpeg extends Binary
|
|||
try {
|
||||
$process->run();
|
||||
} catch (\RuntimeException $e) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
if ( ! $process->isSuccessful()) {
|
||||
|
|
@ -198,7 +198,7 @@ class FFMpeg extends Binary
|
|||
try {
|
||||
$process->run();
|
||||
} catch (\RuntimeException $e) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
if ( ! $process->isSuccessful()) {
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ class FFProbe extends Binary
|
|||
/**
|
||||
* Probe the format of a given file
|
||||
*
|
||||
* @param string $pathfile
|
||||
* @return string A Json object containing the key/values of the probe output
|
||||
*
|
||||
* @param string $pathfile
|
||||
* @return string A Json object containing the key/values of the probe output
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
* @throws RuntimeException
|
||||
*/
|
||||
|
|
@ -72,9 +72,9 @@ class FFProbe extends Binary
|
|||
/**
|
||||
* Probe the streams contained in a given file
|
||||
*
|
||||
* @param string $pathfile
|
||||
* @return array An array of streams array
|
||||
*
|
||||
* @param string $pathfile
|
||||
* @return array An array of streams array
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
* @throws RuntimeException
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ namespace FFMpeg\Format;
|
|||
*/
|
||||
interface Video extends Audio
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
namespace FFMpeg\Format\Video;
|
||||
|
||||
use FFMpeg\Format\Video as BaseVideo;
|
||||
use FFMpeg\Format\Dimension;
|
||||
|
||||
/**
|
||||
* @author Romain Neutron imprec@gmail.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue