* GitHub actions + style fixes + updated packages * Fixed workflows dir * Support for PHP 8.1 (#1) * Update README.md * Revert some changes from upstream
16 lines
402 B
PHP
16 lines
402 B
PHP
<?php
|
|
|
|
namespace Tests\FFMpeg\Unit\Format\Video;
|
|
|
|
use FFMpeg\Format\Video\X264;
|
|
use Tests\FFMpeg\Unit\TestCase;
|
|
|
|
class InitialParametersTest extends TestCase
|
|
{
|
|
public function testApplyInitialParameters()
|
|
{
|
|
$format = new X264();
|
|
$format->setInitialParameters(['-acodec', 'libopus']);
|
|
$this->assertEquals(['-acodec', 'libopus'], $format->getInitialParameters());
|
|
}
|
|
}
|