Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22c1cd2d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

doc-rst: extended-controls: use reference for VIDIOC_S_CTRL



Instead of using a constant, use references, just like the
other references for ioctl's.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent bb27da1d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -54,9 +54,9 @@ contains a pointer to the control array, a count of the number of
controls in that array and a control class. Control classes are used to
group similar controls into a single class. For example, control class
``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls
that can also be set using the old ``VIDIOC_S_CTRL`` ioctl). Control
class ``V4L2_CTRL_CLASS_MPEG`` contains all controls relating to MPEG
encoding, etc.
that can also be set using the old :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>`
ioctl). Control class ``V4L2_CTRL_CLASS_MPEG`` contains all controls
relating to MPEG encoding, etc.

All controls in the control array must belong to the specified control
class. An error is returned if this is not the case.