postprocess: fix empty filename for UVC cameras

filename printed to stdout is used to bind to open filename
button. Without this nothing opened, when button was clicked.
This commit is contained in:
Andrey Skvortsov
2025-05-28 23:21:15 +03:00
committed by Martijn Braam
parent 928714595d
commit 4c29f88069

View File

@@ -33,6 +33,7 @@ MAIN_PICTURE="$BURST_DIR"/1
if [ -f "$MAIN_PICTURE.jpg" ]; then
# Just move over the main jpeg if this was a YUV capture
cp "$MAIN_PICTURE.jpg" "$TARGET_NAME.jpg"
echo "$TARGET_NAME.jpg"
# Clean up the temp dir containing the burst
rm -rf "$BURST_DIR"