summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-02 08:43:46 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 10:05:14 -0300
commit63ea6309f42817227319d1aa0e51860425471457 (patch)
tree45e9230cbfcad584973b6eee31d7b640f3af5d9c
parent09e6b3267ab6d0393545a733003dca0db1a4e1fd (diff)
doc-rst: control: read the example captions
Those got removed by the doc conversion. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--Documentation/linux_tv/media/v4l/control.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/linux_tv/media/v4l/control.rst b/Documentation/linux_tv/media/v4l/control.rst
index d6df648767c5..5defd1995e13 100644
--- a/Documentation/linux_tv/media/v4l/control.rst
+++ b/Documentation/linux_tv/media/v4l/control.rst
@@ -372,6 +372,8 @@ more menu type controls.
.. code-block:: c
+ :caption: Example 8: Enumerating all user controls
+
struct v4l2_queryctrl queryctrl;
struct v4l2_querymenu querymenu;
@@ -435,6 +437,7 @@ more menu type controls.
.. code-block:: c
+ :caption: Example 9: Enumerating all user controls (alternative)
memset(&queryctrl, 0, sizeof(queryctrl));
@@ -459,6 +462,7 @@ more menu type controls.
.. code-block:: c
+ :caption: Example 10: Changing controls
struct v4l2_queryctrl queryctrl;
struct v4l2_control control;