summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/camera.cpp6
-rw-r--r--src/libcamera/pipeline_handler.cpp6
2 files changed, 5 insertions, 7 deletions
diff --git a/src/libcamera/camera.cpp b/src/libcamera/camera.cpp
index 45bbc354..763f3b99 100644
--- a/src/libcamera/camera.cpp
+++ b/src/libcamera/camera.cpp
@@ -1011,8 +1011,10 @@ int Camera::queueRequest(Request *request)
}
}
- return d->pipe_->invokeMethod(&PipelineHandler::queueRequest,
- ConnectionTypeQueued, request);
+ d->pipe_->invokeMethod(&PipelineHandler::queueRequest,
+ ConnectionTypeQueued, request);
+
+ return 0;
}
/**
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index e3d4975d..433c05f6 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -371,10 +371,8 @@ const ControlList &PipelineHandler::properties(const Camera *camera) const
* signalled by the pipeline handler using the completeRequest() method.
*
* \context This function is called from the CameraManager thread.
- *
- * \return 0 on success or a negative error code otherwise
*/
-int PipelineHandler::queueRequest(Request *request)
+void PipelineHandler::queueRequest(Request *request)
{
LIBCAMERA_TRACEPOINT(request_queue, request);
@@ -387,8 +385,6 @@ int PipelineHandler::queueRequest(Request *request)
int ret = queueRequestDevice(camera, request);
if (ret)
data->queuedRequests_.remove(request);
-
- return ret;
}
/**