libcamera: controls: Rename ControlRange to ControlInfo
To prepare for storage of additional information in the ControlRange structure, rename it to ControlInfo. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
73b7ba9da5
commit
e5a9e6e9cd
15 changed files with 100 additions and 101 deletions
|
@ -381,7 +381,7 @@ void V4L2Device::listControls()
|
|||
}
|
||||
|
||||
controlIds_.emplace_back(std::make_unique<V4L2ControlId>(ctrl));
|
||||
ctrls.emplace(controlIds_.back().get(), V4L2ControlRange(ctrl));
|
||||
ctrls.emplace(controlIds_.back().get(), V4L2ControlInfo(ctrl));
|
||||
}
|
||||
|
||||
controls_ = std::move(ctrls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue