diff options
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/camera_device.cpp | 4 | ||||
-rw-r--r-- | src/android/camera_device.h | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/android/camera_device.cpp b/src/android/camera_device.cpp index 897f5458..065e0292 100644 --- a/src/android/camera_device.cpp +++ b/src/android/camera_device.cpp @@ -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; diff --git a/src/android/camera_device.h b/src/android/camera_device.h index 2105b5b9..caa617dc 100644 --- a/src/android/camera_device.h +++ b/src/android/camera_device.h @@ -34,8 +34,7 @@ public: const camera_metadata_t *constructDefaultRequestSettings(int type); int configureStreams(camera3_stream_configuration_t *stream_list); void processCaptureRequest(camera3_capture_request_t *request); - void requestComplete(libcamera::Request *request, - const std::map<libcamera::Stream *, libcamera::Buffer *> &buffers); + void requestComplete(libcamera::Request *request); private: struct Camera3RequestDescriptor { |