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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-07-02 09:17:08 -03:00
parent bb27da1d3f
commit 22c1cd2d79

View file

@ -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.