]> git.karo-electronics.de Git - linux-beck.git/commitdiff
doc-rst: video: Restore the captions for the examples
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 1 Jul 2016 01:45:08 +0000 (22:45 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 1 Jul 2016 17:53:47 +0000 (14:53 -0300)
There are two examples in the code, but the captions of them
were lost during the ReST conversion. Manually add them again.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/linux_tv/media/v4l/video.rst

index f214bd8356224cf7e5b01206a55a27600710722d..fc220be52c2b46bdbe0620fc0e46c330257fc6a9 100644 (file)
@@ -28,8 +28,8 @@ applications call the :ref:`VIDIOC_S_INPUT <vidioc-g-input>` and
 implement all the input ioctls when the device has one or more inputs,
 all the output ioctls when the device has one or more outputs.
 
-
 .. code-block:: c
+    :caption: Example 1: Information about the current video input
 
     struct v4l2_input input;
     int index;
@@ -51,6 +51,7 @@ all the output ioctls when the device has one or more outputs.
 
 
 .. code-block:: c
+    :caption: Example 2: Switching to the first video input
 
     int index;