mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 15:29:45 +03:00
libcamera: camera: Remove explicit stream to buffer map in requestCompleted signal
The stream to buffer map in the requestCompleted signal is taken directly from the request which is part of the same signal. Remove the map as it can be fetched directly from the request. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
40888cfdce
commit
f7ddfd4517
9 changed files with 16 additions and 16 deletions
|
@ -769,9 +769,9 @@ error:
|
|||
delete descriptor;
|
||||
}
|
||||
|
||||
void CameraDevice::requestComplete(Request *request,
|
||||
const std::map<Stream *, Buffer *> &buffers)
|
||||
void CameraDevice::requestComplete(Request *request)
|
||||
{
|
||||
const std::map<Stream *, Buffer *> &buffers = request->buffers();
|
||||
Buffer *libcameraBuffer = buffers.begin()->second;
|
||||
camera3_buffer_status status = CAMERA3_BUFFER_STATUS_OK;
|
||||
std::unique_ptr<CameraMetadata> resultMetadata;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue