android: camera_device: Do not pass nullptr
to Request::addBuffer()
The default argument already takes care of passing no fence to `addBuffer()`, so there is no reason to specify `nullptr` explicitly. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
290d3f82e3
commit
633063e099
1 changed files with 1 additions and 1 deletions
|
@ -1079,7 +1079,7 @@ int CameraDevice::processCaptureRequest(camera3_capture_request_t *camera3Reques
|
|||
buffer.internalBuffer = frameBuffer;
|
||||
|
||||
descriptor->request_->addBuffer(sourceStream->stream(),
|
||||
frameBuffer, nullptr);
|
||||
frameBuffer);
|
||||
|
||||
requestedStreams.insert(sourceStream);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue