commit 242512c43f18ea0d2a62acfbd400d93b86d39e48
parent a667056b3386f0e329743353375e12db0d9f603e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 16 Oct 2020 09:51:26 +0200
capture_image.sh: do not allow ffmpeg to read stdin
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/capture_image.sh b/.local/bin/capture_image.sh
@@ -41,7 +41,7 @@ capture() {
echo "$1"
fi
NO_COLOR=1 ffmpeg -f video4linux2 -i "$device" -vframes 1 \
- -loglevel "$loglevel" -y "$1"
+ -loglevel "$loglevel" -y "$1" </dev/null
}
post_process() {