mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
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:
parent
588c9f9f64
commit
d487727fd5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue