]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
doc-rst: selection-api-006: add missing captions
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 3 Jul 2016 14:33:18 +0000 (11:33 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 3 Jul 2016 14:33:18 +0000 (11:33 -0300)
The example captions got stripped by the conversion to ReST.
Re-add.

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

index 61160b6be4f6c9a06c725ee777f68e1d27c3db13..a7c04879cb5d58948606b9f6068b903258b21dd0 100644 (file)
@@ -10,6 +10,7 @@ Examples
 
 
 .. code-block:: c
+       :caption: Example 1.15. Resetting the cropping parameters
 
         struct v4l2_selection sel = {
             .type = V4L2_BUF_TYPE_VIDEO_CAPTURE,
@@ -28,6 +29,7 @@ placed at a center of a display.
 
 
 .. code-block:: c
+   :caption: Example 1.16. Simple downscaling
 
         struct v4l2_selection sel = {
             .type = V4L2_BUF_TYPE_VIDEO_OUTPUT,
@@ -55,6 +57,7 @@ for other devices
 
 
 .. code-block:: c
+   :caption: Example 1.17. Querying for scaling factors
 
         struct v4l2_selection compose = {
             .type = V4L2_BUF_TYPE_VIDEO_OUTPUT,