summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-13 21:11:27 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-15 00:04:54 +0300
commit304ea65551b410a82b81dfd83e25b089ce158954 (patch)
tree03701383c41686c434a9d4d33e32c7cc4d79810f
parente51926f07bfe26db6ae68b72bc64f1523968742d (diff)
libcamera: pipeline_handler: Fix typo in documentation
There's no CameraConfiguration::valid(), the correct function is CameraConfiguration::validate(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Sebastian Fricke <sebastian.fricke@posteo.net>
-rw-r--r--src/libcamera/pipeline_handler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline_handler.cpp b/src/libcamera/pipeline_handler.cpp
index 43395b57..3b3150bd 100644
--- a/src/libcamera/pipeline_handler.cpp
+++ b/src/libcamera/pipeline_handler.cpp
@@ -304,8 +304,8 @@ const ControlList &PipelineHandler::properties(const Camera *camera) const
* application.
*
* The configuration is guaranteed to have been validated with
- * CameraConfiguration::valid(). The pipeline handler implementation shall not
- * perform further validation and may rely on any custom field stored in its
+ * CameraConfiguration::validate(). The pipeline handler implementation shall
+ * not perform further validation and may rely on any custom field stored in its
* custom CameraConfiguration derived class.
*
* When configuring the camera the pipeline handler shall associate a Stream