Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix cache for replace_face - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 73a00a86e0194d8764b850e49409414b463dd0e7
parent 7e36d1bac0c123cad1b5b5a681c62d62fb17b3c2
Author: Annna Robert-Houdin <[email protected]>
Date: Sun, 31 Jul 2022 14:03:43 +0200
Fix cache for replace_face
Diffstat:
M ffmpeg-effect | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -67,6 +67,11 @@ replace_face() {
input="$2"
output="$3"
+ if [ -e "$output" ];
+ then
+ return
+ fi
+
ext="$(printf '%s' "$input" | awk -F. '{print $NF}')"
tmp=/tmp/replace_face_$$.$ext
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.