Deprecate image dimensions in extractImage

This commit is contained in:
Romain Neutron 2012-04-18 10:36:29 +02:00
commit 8c16e7f4c7
2 changed files with 4 additions and 6 deletions

View file

@ -62,13 +62,11 @@ class FFMpeg extends Binary
*
* @param int $time The time in second where to take the snapshot
* @param string $output The pathfile where to write
* @param int $width The width of the image
* @param int $height The height of the image
* @return \FFMpeg\FFMpeg
* @throws Exception\RuntimeException
* @throws Exception\LogicException
*/
public function extractImage($time, $output, $width, $height)
public function extractImage($time, $output)
{
if ( ! $this->pathfile)
{
@ -186,7 +184,7 @@ class FFMpeg extends Binary
* @param Format\VideoFormat $format The output format
* @param string $outputPathfile The pathfile where to write
* @param int $threads The number of threads to use
* @return \FFMpeg\FFMpeg
* @return \FFMpeg\FFMpeg
* @throws Exception\RuntimeException
*/
protected function encodeVideo(Format\VideoFormat $format, $outputPathfile, $threads)