summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 11:33:18 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-03 11:33:18 -0300
commitdd96815f42f702a2bdfd3778e749bb91f7e50683 (patch)
treecfb0c2769d24a456bf58a13ca79dbec14801851c /Documentation/linux_tv/media
parentda1621c300657ba77ce0bd778ec51a570ab1b05d (diff)
downloadlwn-dd96815f42f702a2bdfd3778e749bb91f7e50683.tar.gz
lwn-dd96815f42f702a2bdfd3778e749bb91f7e50683.zip
doc-rst: selection-api-006: add missing captions
The example captions got stripped by the conversion to ReST. Re-add. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/media')
-rw-r--r--Documentation/linux_tv/media/v4l/selection-api-006.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/linux_tv/media/v4l/selection-api-006.rst b/Documentation/linux_tv/media/v4l/selection-api-006.rst
index 61160b6be4f6..a7c04879cb5d 100644
--- a/Documentation/linux_tv/media/v4l/selection-api-006.rst
+++ b/Documentation/linux_tv/media/v4l/selection-api-006.rst
@@ -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,