Skip to content

Commit

Permalink
Fix TranscodingStreamer for PHP 7.4 (#1189)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tobbez committed Mar 10, 2020
1 parent 588c9f9 commit d487727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/Streamers/TranscodingStreamer.php
Expand Up @@ -44,7 +44,7 @@ public function stream(): void
array_unshift($args, "-ss {$this->startTime}");
}

passthru("$ffmpeg ".implode($args, ' '));
passthru("$ffmpeg ".implode(' ', $args));
}

public function setBitRate(int $bitRate): void
Expand Down

0 comments on commit d487727

Please sign in to comment.