]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix indent 2 36736/head
authorGlandos <bugs-github@antipoul.fr>
Thu, 16 Feb 2023 09:10:12 +0000 (10:10 +0100)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2023 09:10:12 +0000 (10:10 +0100)
Signed-off-by: Glandos <bugs-github@antipoul.fr>
lib/private/Preview/Movie.php

index b5842d11dd51876717c3a4bd5f4a2f1bd69ce654..13d868cd583ba9d1db2f454ef7b7bfb0d7bb61b0 100644 (file)
@@ -126,9 +126,9 @@ class Movie extends ProviderV2 {
 
                if ($binaryType === 'avconv') {
                        $cmd = [$this->binary, '-y', '-ss', (string)$second,
-                                       '-i', $absPath,
-                                       '-an', '-f', 'mjpeg', '-vframes', '1', '-vsync', '1',
-                                       $tmpPath];
+                               '-i', $absPath,
+                               '-an', '-f', 'mjpeg', '-vframes', '1', '-vsync', '1',
+                               $tmpPath];
                } elseif ($binaryType === 'ffmpeg') {
                        $cmd = [$this->binary, '-y', '-ss', (string)$second,
                                '-i', $absPath,
@@ -144,10 +144,10 @@ class Movie extends ProviderV2 {
                $returnCode = -1;
                $output = "";
                if (is_resource($proc)) {
-                               $stdout = trim(stream_get_contents($pipes[1]));
-                               $stderr = trim(stream_get_contents($pipes[2]));
-                               $returnCode = proc_close($proc);
-                               $output = $stdout . $stderr;
+                       $stdout = trim(stream_get_contents($pipes[1]));
+                       $stderr = trim(stream_get_contents($pipes[2]));
+                       $returnCode = proc_close($proc);
+                       $output = $stdout . $stderr;
                }
 
                if ($returnCode === 0) {