This commit is contained in:
legop3
2025-11-22 22:54:50 -05:00
parent 60a19494de
commit 724df8c59e
+1 -4
View File
@@ -40,11 +40,8 @@ else
exit 1
fi
# Prefer a single rotate flag when supported; fall back to h+v flip otherwise.
# Force flip via h+v to work across rpicam-vid builds.
FLIP_ARGS=(--hflip --vflip)
if "${LIBCAMERA_BIN_PATH}" --help 2>&1 | grep -q -- "--rotation"; then
FLIP_ARGS=(--rotation 180)
fi
run_pipeline() {
"${LIBCAMERA_BIN_PATH}" \