doc-rst: control: read the example captions

Those got removed by the doc conversion.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-07-02 08:43:46 -03:00
parent 09e6b3267a
commit 63ea6309f4
1 changed files with 4 additions and 0 deletions

View File

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