Commit f22bede3 authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Mauro Carvalho Chehab

[media] Documentation: Fix V4L2_CTRL_FLAG_VOLATILE

V4L2_CTRL_FLAG_VOLATILE behaviour when V4L2_CTRL_FLAG_EXECUTE_ON_WRITE
is set was not properly explained.

Also set some hyperlink to ease the Documentation browsing.

Credit-to: Hans Verkuil <hansverk@cisco.com>

[mchehab@s-opensource.com: fix a trivial merge conflict]
Reported-by: default avatarDimitrios Katsaros <patcherwork@gmail.com>
Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 3f8d56b0
...@@ -754,10 +754,12 @@ See also the examples in :ref:`control`. ...@@ -754,10 +754,12 @@ See also the examples in :ref:`control`.
.. note:: .. note::
Setting a new value for a volatile control will have no Setting a new value for a volatile control will be ignored
effect and no ``V4L2_EVENT_CTRL_CH_VALUE`` will be sent, unless unless
the ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE`` flag (see below) is :ref:`V4L2_CTRL_FLAG_EXECUTE_ON_WRITE <FLAG_EXECUTE_ON_WRITE>`
also set. Otherwise the new value will just be ignored. is also set.
Setting a new value for a volatile control will *never* trigger a
:ref:`V4L2_EVENT_CTRL_CH_VALUE <ctrl-changes-flags>` event.
- .. row 9 - .. row 9
...@@ -773,6 +775,7 @@ See also the examples in :ref:`control`. ...@@ -773,6 +775,7 @@ See also the examples in :ref:`control`.
payload of the control. payload of the control.
- .. row 10 - .. row 10
.. _FLAG_EXECUTE_ON_WRITE:
- ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE`` - ``V4L2_CTRL_FLAG_EXECUTE_ON_WRITE``
......
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