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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ possible with the :ref:`munmap() <func-munmap>` function.


.. code-block:: c
    :caption: Example 3.1. Mapping buffers in the single-planar API

    struct v4l2_requestbuffers reqbuf;
    struct {
@@ -122,6 +123,7 @@ possible with the :ref:`munmap() <func-munmap>` function.


.. code-block:: c
    :caption: Example 3.2. Mapping buffers in the multi-planar API

    struct v4l2_requestbuffers reqbuf;
    /* Our current format uses 3 planes per buffer */