From 0c669778f7225a32fb961e6df46229cb60da7d80 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 20 Sep 2022 13:19:11 +0200 Subject: [PATCH] Fix FFMPEG preview manager Signed-off-by: Joas Schilling --- lib/private/PreviewManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php index e78bdefda8d1f..2a2d139b229ec 100644 --- a/lib/private/PreviewManager.php +++ b/lib/private/PreviewManager.php @@ -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'); }