mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Update lib/private/PreviewManager.php
fix lint issue Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: William <william.hak57@gmail.com>
This commit is contained in:
parent
81ec99ae33
commit
fa12219629
1 changed files with 1 additions and 2 deletions
|
|
@ -417,9 +417,8 @@ class PreviewManager implements IPreview {
|
|||
|
||||
// Video requires avconv or ffmpeg
|
||||
if (in_array(Preview\Movie::class, $this->getEnabledDefaultProvider())) {
|
||||
|
||||
$movieBinary = $this->config->getSystemValue('preview_ffmpeg_path', null);
|
||||
if(!is_string($movieBinary)){
|
||||
if (!is_string($movieBinary)) {
|
||||
$movieBinary = $this->binaryFinder->findBinaryPath('avconv');
|
||||
if (!is_string($movieBinary)) {
|
||||
$movieBinary = $this->binaryFinder->findBinaryPath('ffmpeg');
|
||||
|
|
|
|||
Loading…
Reference in a new issue