From 3bea7af7b7842af207ec973e83b5d87079c617af Mon Sep 17 00:00:00 2001 From: Glandos Date: Thu, 16 Feb 2023 10:10:12 +0100 Subject: [PATCH] fix indent 2 Signed-off-by: Glandos --- lib/private/Preview/Movie.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/private/Preview/Movie.php b/lib/private/Preview/Movie.php index b5842d11dd5..13d868cd583 100644 --- a/lib/private/Preview/Movie.php +++ b/lib/private/Preview/Movie.php @@ -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) { -- 2.39.5