mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 23:09:45 +03:00
guides: pipeline-handler: Fix controlInfo_ initialization
Since commit b48db3c489
("libcamera: controls: Create ControlInfoMap
with ControlIdMap"), instances of the ControlInfoMap class need to be
created with an instance of an unordered_map of ControlId to ControlInfo
and with a ControlIdMap instance.
The pipeline handler developer guide was never updated to reflect the
change. Fix it.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
be21f2747a
commit
1bf2d707e4
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ inline in our VividCameraData init:
|
|||
ctrls.emplace(id, info);
|
||||
}
|
||||
|
||||
controlInfo_ = std::move(ctrls);
|
||||
controlInfo_ = ControlInfoMap(std::move(ctrls), controls::controls);
|
||||
|
||||
The ``properties_`` field is a list of ``ControlId`` instances
|
||||
associated with immutable values, which represent static characteristics that can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue