diff options
Diffstat (limited to 'src/android/camera_worker.cpp')
-rw-r--r-- | src/android/camera_worker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/camera_worker.cpp b/src/android/camera_worker.cpp index df436460..300ddde0 100644 --- a/src/android/camera_worker.cpp +++ b/src/android/camera_worker.cpp @@ -26,10 +26,10 @@ LOG_DECLARE_CATEGORY(HAL) * by the CameraWorker which queues it to the libcamera::Camera after handling * fences. */ -CaptureRequest::CaptureRequest(libcamera::Camera *camera, uint64_t cookie) +CaptureRequest::CaptureRequest(libcamera::Camera *camera) : camera_(camera) { - request_ = camera_->createRequest(cookie); + request_ = camera_->createRequest(reinterpret_cast<uint64_t>(this)); } void CaptureRequest::addBuffer(Stream *stream, FrameBuffer *buffer, int fence) |