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:
parent
962df634bd
commit
fa7a95bf32
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue