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>
This commit is contained in:
committed by
Umang Jain
parent
962df634bd
commit
fa7a95bf32
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user