Commit 63ea6309 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

doc-rst: control: read the example captions

Those got removed by the doc conversion.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 09e6b326
...@@ -372,6 +372,8 @@ more menu type controls. ...@@ -372,6 +372,8 @@ more menu type controls.
.. code-block:: c .. code-block:: c
:caption: Example 8: Enumerating all user controls
struct v4l2_queryctrl queryctrl; struct v4l2_queryctrl queryctrl;
struct v4l2_querymenu querymenu; struct v4l2_querymenu querymenu;
...@@ -435,6 +437,7 @@ more menu type controls. ...@@ -435,6 +437,7 @@ more menu type controls.
.. code-block:: c .. code-block:: c
:caption: Example 9: Enumerating all user controls (alternative)
memset(&queryctrl, 0, sizeof(queryctrl)); memset(&queryctrl, 0, sizeof(queryctrl));
...@@ -459,6 +462,7 @@ more menu type controls. ...@@ -459,6 +462,7 @@ more menu type controls.
.. code-block:: c .. code-block:: c
:caption: Example 10: Changing controls
struct v4l2_queryctrl queryctrl; struct v4l2_queryctrl queryctrl;
struct v4l2_control control; struct v4l2_control control;
......
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