Added the BC Layer alias for some phpunit methods to fix build at php <= 5.5.

This commit is contained in:
CaliforniaMountainSnake 2020-02-27 20:59:26 +03:00
commit 71766fed47
3 changed files with 39 additions and 3 deletions

View file

@ -532,7 +532,7 @@ ComplexMedia already contains some built-in filters.
For example:
```php
$complexMedia = $ffmpeg->openComplex(array ('video_1.mp4', 'video_2.mp4'));
$complexMedia = $ffmpeg->openComplex(array('video_1.mp4', 'video_2.mp4'));
$complexMedia->filters()
->custom('[0:v][1:v]', 'hstack', '[v]');
$complexMedia
@ -580,7 +580,7 @@ As you can see, you can take multiple input sources, perform the complicated pro
You do not have to use `-filter_complex`. For example, just extract the audio from the video:
```php
$complexMedia = $ffmpeg->openComplex(array ('video.mp4'));
$complexMedia = $ffmpeg->openComplex(array('video.mp4'));
$complexMedia
->map(array('0:a'), new Mp3(), 'output.mp3')
->save();