We add a missing parameter to the ffmpeg command

This commit is contained in:
Romain Biard 2016-11-16 12:43:40 -03:00
commit 18845d406e
2 changed files with 10 additions and 3 deletions

View file

@ -185,10 +185,12 @@ class Video extends Audio
/**
* Gets the waveform of the video.
*
* @param integer $width
* @param integer $height
* @return Waveform
*/
public function waveform()
public function waveform($width = 640, $height = 120)
{
return new Waveform($this, $this->driver, $this->ffprobe);
return new Waveform($this, $this->driver, $this->ffprobe, $width, $height);
}
}