added waveform color option
This commit is contained in:
parent
eb0bc309ef
commit
60534a1dbb
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ class WaveformTest extends AbstractMediaTestCase
|
|||
->method('command')
|
||||
->with($commands);
|
||||
|
||||
$waveform = new Waveform($this->getAudioMock(__FILE__), $driver, $ffprobe, 640, 120);
|
||||
$waveform = new Waveform($this->getAudioMock(__FILE__), $driver, $ffprobe, 640, 120, ['#FFFFFF']);
|
||||
$this->assertSame($waveform, $waveform->save($pathfile));
|
||||
}
|
||||
|
||||
|
|
@ -62,7 +62,7 @@ class WaveformTest extends AbstractMediaTestCase
|
|||
array(
|
||||
array(
|
||||
'-i', NULL, '-filter_complex',
|
||||
'showwavespic=colors=#000000:s=640x120',
|
||||
'showwavespic=colors=#FFFFFF:s=640x120',
|
||||
'-frames:v', '1',
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue