summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarian Cichy <m.cichy@pengutronix.de>2021-03-18 15:11:24 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-19 01:41:56 +0200
commitf908d49ccef5424830c43b28a079da591fdb0b78 (patch)
treed825dc39f56fe06e9931d1da4740d38ff6d59b43 /src
parent79b48225adddafb6e1e5dcbe384107ba69b89454 (diff)
libcamera: request: Fix documentation of controls() method
The documentation of the controls() method refers to the methods ControlList::operator[]() and ControlList::update(), which do not exist. Instead refer to ControlList::get() and ControlList::set() to achieve a similar documentation. Fixes: a8c40942b99e ("libcamera: controls: Improve the API towards applications") Signed-off-by: Marian Cichy <m.cichy@pengutronix.de> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/request.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/request.cpp b/src/libcamera/request.cpp
index 24c3694d..0071667e 100644
--- a/src/libcamera/request.cpp
+++ b/src/libcamera/request.cpp
@@ -138,8 +138,8 @@ void Request::reuse(ReuseFlag flags)
*
* Requests store a list of controls to be applied to all frames captured for
* the request. They are created with an empty list of controls that can be
- * accessed through this method and updated with ControlList::operator[]() or
- * ControlList::update().
+ * accessed through this method. Control values can be retrieved using
+ * ControlList::get() and updated using ControlList::set().
*
* Only controls supported by the camera to which this request will be
* submitted shall be included in the controls list. Attempting to add an