Skip to content

Commit

Permalink
Fix slow thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPresso committed Dec 26, 2023
1 parent b5c791b commit 26d36ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wrappers/ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"

Expand Down

0 comments on commit 26d36ae

Please sign in to comment.