[libcamera-devel,2/3] utils: ipu3: process: Fix typo in output files path

Message ID 20181211140028.25241-2-laurent.pinchart@ideasonboard.com
State Accepted
Commit 1ebd2c09f56ea53befc6924b2e3c5137d3aff1a0
Headers show
Series
  • [libcamera-devel,1/3] utils: ipu3: Abort when sensor or media device isn't found
Related show

Commit Message

Laurent Pinchart Dec. 11, 2018, 2 p.m. UTC
A typo in the output files path causes the script to attempt to write
all captured frames to /. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/ipu3/ipu3-process.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/utils/ipu3/ipu3-process.sh b/utils/ipu3/ipu3-process.sh
index 78a7937fca70..0d1df9435271 100755
--- a/utils/ipu3/ipu3-process.sh
+++ b/utils/ipu3/ipu3-process.sh
@@ -52,7 +52,7 @@  process_frames() {
 	# Save the main and viewfinder outputs to disk, capture and drop 3A
 	# statistics. Sleep 500ms between each execution of yavta to keep the
 	# stdout messages readable.
-	$yavta -f $IMGU_OUT_PIXELFORMAT -s $out_size "-F$ouput_dir/frame-out-#.bin" \
+	$yavta -f $IMGU_OUT_PIXELFORMAT -s $out_size "-F$output_dir/frame-out-#.bin" \
 		$($mediactl -e "ipu3-imgu 0 output") &
 	sleep 0.5
 	$yavta -f $IMGU_VF_PIXELFORMAT -s $vf_size "-F$output_dir/frame-vf-#.bin" \