v4l2_ctrl_add_ctrl(9) 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.

COPYRIGHT