Added ffmpeg version checking in the ComplexMediaTest::testXStackFilter().
This commit is contained in:
parent
f20ad8a82e
commit
6dc260fd3d
3 changed files with 21 additions and 0 deletions
|
|
@ -14,4 +14,16 @@ abstract class FunctionalTestCase extends TestCase
|
|||
{
|
||||
return FFMpeg::create(array('timeout' => 300));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get ffmpeg version.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getFFMpegVersion()
|
||||
{
|
||||
preg_match('#version\s(\S+)#',
|
||||
$this->getFFMpeg()->getFFMpegDriver()->command('-version'), $version);
|
||||
return $version[1];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue