Name
v4l2_ctrl_add_ctrl —
Add a control from another handler to this handler.
Synopsis
struct v4l2_ctrl * v4l2_ctrl_add_ctrl ( | struct v4l2_ctrl_handler * hdl, |
| struct v4l2_ctrl * ctrl) ; |
Arguments
hdl
The control handler.
ctrl
The control to add.
Description
It will return NULL if it was unable to add the control reference.
If the control already belonged to the handler, then it will do
nothing and just return ctrl
.