Commit dd96815f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

doc-rst: selection-api-006: add missing captions

The example captions got stripped by the conversion to ReST.
Re-add.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent da1621c3
...@@ -10,6 +10,7 @@ Examples ...@@ -10,6 +10,7 @@ Examples
.. code-block:: c .. code-block:: c
:caption: Example 1.15. Resetting the cropping parameters
struct v4l2_selection sel = { struct v4l2_selection sel = {
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE, .type = V4L2_BUF_TYPE_VIDEO_CAPTURE,
...@@ -28,6 +29,7 @@ placed at a center of a display. ...@@ -28,6 +29,7 @@ placed at a center of a display.
.. code-block:: c .. code-block:: c
:caption: Example 1.16. Simple downscaling
struct v4l2_selection sel = { struct v4l2_selection sel = {
.type = V4L2_BUF_TYPE_VIDEO_OUTPUT, .type = V4L2_BUF_TYPE_VIDEO_OUTPUT,
...@@ -55,6 +57,7 @@ for other devices ...@@ -55,6 +57,7 @@ for other devices
.. code-block:: c .. code-block:: c
:caption: Example 1.17. Querying for scaling factors
struct v4l2_selection compose = { struct v4l2_selection compose = {
.type = V4L2_BUF_TYPE_VIDEO_OUTPUT, .type = V4L2_BUF_TYPE_VIDEO_OUTPUT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment