From 26d36ae0d18415699d788b92aacba35e404faeac Mon Sep 17 00:00:00 2001 From: AlexPresso Date: Tue, 26 Dec 2023 03:39:40 +0100 Subject: [PATCH] Fix slow thumbnails --- wrappers/ffmpeg.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wrappers/ffmpeg.sh b/wrappers/ffmpeg.sh index 34ab2ce..7a05fd9 100644 --- a/wrappers/ffmpeg.sh +++ b/wrappers/ffmpeg.sh @@ -114,8 +114,8 @@ info "========================================[start $0 $pid]" info "DEFAULT ARGS: $*" info "UPDATED ARGS: ${args[*]}" -info "Trying fixed args with $path.orig ..." -"${path}.orig" "${args[@]}" <&0 2>> $stderrfile & +info "Trying default args with $path.orig ..." +"${path}.orig" "$@" <&0 2>> $stderrfile & child=$! wait "$child" @@ -124,8 +124,8 @@ if [[ $errcode -eq 0 ]]; then fi errcode=0 -info "Trying default args with $path.orig ..." -"${path}.orig" "$@" <&0 2>> $stderrfile & +info "Trying fixed args with $path.orig ..." +"${path}.orig" "${args[@]}" <&0 2>> $stderrfile & child=$! wait "$child"