Commit 5c591aa1 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

doc-rst: mmap: re-add the missing captions

The conversion from DocBook removed them. Re-add.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent afb392b1
...@@ -54,6 +54,7 @@ possible with the :ref:`munmap() <func-munmap>` function. ...@@ -54,6 +54,7 @@ possible with the :ref:`munmap() <func-munmap>` function.
.. code-block:: c .. code-block:: c
:caption: Example 3.1. Mapping buffers in the single-planar API
struct v4l2_requestbuffers reqbuf; struct v4l2_requestbuffers reqbuf;
struct { struct {
...@@ -122,6 +123,7 @@ possible with the :ref:`munmap() <func-munmap>` function. ...@@ -122,6 +123,7 @@ possible with the :ref:`munmap() <func-munmap>` function.
.. code-block:: c .. code-block:: c
:caption: Example 3.2. Mapping buffers in the multi-planar API
struct v4l2_requestbuffers reqbuf; struct v4l2_requestbuffers reqbuf;
/* Our current format uses 3 planes per buffer */ /* Our current format uses 3 planes per buffer */
......
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