Fix TranscodingStreamer for PHP 7.4 (#1189)

Passing the glue parameter after the pieces parameter when calling
implode is deprecated as of PHP 7.4.

This was the only remaining instance, all other implode calls already
use the correct parameter order.
This commit is contained in:
Torbjörn Lönnemark 2020-03-10 11:16:34 +01:00 committed by GitHub
parent 588c9f9f64
commit d487727fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ class TranscodingStreamer extends Streamer implements TranscodingStreamerInterfa
array_unshift($args, "-ss {$this->startTime}");
}
passthru("$ffmpeg ".implode($args, ' '));
passthru("$ffmpeg ".implode(' ', $args));
}
public function setBitRate(int $bitRate): void