added waveform color option
This commit is contained in:
parent
9314f64f54
commit
eb0bc309ef
1 changed files with 8 additions and 3 deletions
|
|
@ -23,9 +23,14 @@ class Waveform extends AbstractMediaType
|
|||
const DEFAULT_COLOR = '#000000';
|
||||
|
||||
/** @var Video */
|
||||
private $audio;
|
||||
private $width;
|
||||
private $height;
|
||||
protected $audio;
|
||||
protected $width;
|
||||
protected $height;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $colors;
|
||||
|
||||
public function __construct(Audio $audio, FFMpegDriver $driver, FFProbe $ffprobe, $width, $height, $colors = [self::DEFAULT_COLOR])
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue