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 7570102 commit d20ab22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wrappers/ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,18 @@ info "========================================[start $0 $pid]"
info "DEFAULT ARGS: $*"
info "UPDATED ARGS: ${args[*]}"

info "Trying fixed args with $path.orig ..."
"${path}.orig" "${args[@]}" <&0 2>> $stderrfile &
errcode=0
info "Trying default args with $path.orig ..."
"${path}.orig" "$@" <&0 2>> $stderrfile &
child=$!
wait "$child"

if [[ $errcode -eq 0 ]]; then
endprocess
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 d20ab22

Please sign in to comment.