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:
@@ -919,7 +919,7 @@ void Camera::requestComplete(Request *request)
|
||||
stream->unmapBuffer(buffer);
|
||||
}
|
||||
|
||||
requestCompleted.emit(request, request->buffers());
|
||||
requestCompleted.emit(request);
|
||||
delete request;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user