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

The conversion from DocBook removed them. Re-add.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-07-04 15:47:55 -03:00
parent afb392b1a4
commit 5c591aa13d
1 changed files with 2 additions and 0 deletions

View File

@ -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.
.. 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 */