Skip to content

Commit

Permalink
Fix FFMPEG preview manager
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Sep 20, 2022
1 parent d0668ce commit 0c66977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/PreviewManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ protected function registerCoreProviders() {
// Video requires avconv or ffmpeg
if (in_array(Preview\Movie::class, $this->getEnabledDefaultProvider())) {
$movieBinary = $this->binaryFinder->findBinaryPath('avconv');
if (is_null($movieBinary)) {
if ($movieBinary === false) {
$movieBinary = $this->binaryFinder->findBinaryPath('ffmpeg');
}

Expand Down

0 comments on commit 0c66977

Please sign in to comment.