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

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
...@@ -54,9 +54,9 @@ contains a pointer to the control array, a count of the number of ...@@ -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 controls in that array and a control class. Control classes are used to
group similar controls into a single class. For example, control class group similar controls into a single class. For example, control class
``V4L2_CTRL_CLASS_USER`` contains all user controls (i. e. all controls ``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 that can also be set using the old :ref:`VIDIOC_S_CTRL <VIDIOC_G_CTRL>`
class ``V4L2_CTRL_CLASS_MPEG`` contains all controls relating to MPEG ioctl). Control class ``V4L2_CTRL_CLASS_MPEG`` contains all controls
encoding, etc. relating to MPEG encoding, etc.
All controls in the control array must belong to the specified control All controls in the control array must belong to the specified control
class. An error is returned if this is not the case. class. An error is returned if this is not the case.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment