Improvements in the way we deal with filters for the waveform
This commit is contained in:
parent
7ce571119a
commit
dab2ae5a8c
2 changed files with 5 additions and 11 deletions
|
|
@ -26,7 +26,7 @@ class Waveform extends AbstractMediaType
|
|||
private $width;
|
||||
private $height;
|
||||
|
||||
public function __construct(Video $video, FFMpegDriver $driver, FFProbe $ffprobe, $width, $height)
|
||||
public function __construct(Audio $audio, FFMpegDriver $driver, FFProbe $ffprobe, $width, $height)
|
||||
{
|
||||
parent::__construct($video->getPathfile(), $driver, $ffprobe);
|
||||
$this->video = $video;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue