summaryrefslogtreecommitdiff
path: root/utils/ipu3/ipu3-capture.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ipu3/ipu3-capture.sh')
-rwxr-xr-xutils/ipu3/ipu3-capture.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/ipu3/ipu3-capture.sh b/utils/ipu3/ipu3-capture.sh
index ba6147b4..004a92b0 100755
--- a/utils/ipu3/ipu3-capture.sh
+++ b/utils/ipu3/ipu3-capture.sh
@@ -4,7 +4,7 @@
#
# Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
#
-# ipu3-capture.sh - Capture raw frames from cameras based on the Intel IPU3
+# Capture raw frames from cameras based on the Intel IPU3
#
# The scripts makes use of the following tools, which are expected to be
# executable from the system-wide path or from the local directory:
@@ -63,7 +63,8 @@ parse_pipeline() {
if (sensor) {
gsub(\".*fmt:\", \"\");
gsub(\"[] ].*\", \"\");
- gsub(\"/\", \" \");
+ sub(\"/\", \" \");
+ sub(\"@[0-9]+/[0-9]+\", \"\");
format=\$0;
}
}