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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user