summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-10-07 15:09:37 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2021-10-10 00:08:48 +0530
commitfa7a95bf32c6a8ee87b67159d4238cbc8e6dc3a9 (patch)
tree5ad310e34c56cfbf78a8af7732242a30c929edc4
parent962df634bd0afe12e6f38464f5e602cf1460c430 (diff)
android: camera_stream: Fix error message for buffer creation
Creating a CameraBuffer instance doesn't map memory. Fix the error message accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
-rw-r--r--src/android/camera_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/camera_stream.cpp b/src/android/camera_stream.cpp
index db8d854b..3b96d2e9 100644
--- a/src/android/camera_stream.cpp
+++ b/src/android/camera_stream.cpp
@@ -171,7 +171,7 @@ int CameraStream::process(const FrameBuffer &source,
CameraBuffer dest(*camera3Dest.buffer, output.pixelFormat, output.size,
PROT_READ | PROT_WRITE);
if (!dest.isValid()) {
- LOG(HAL, Error) << "Failed to map android blob buffer";
+ LOG(HAL, Error) << "Failed to create destination buffer";
return -EINVAL;
}