Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;