summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/userp.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-10 14:22:19 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-10 14:31:24 +0300
commit282f02cb863594d9f39b7b89a92eeb7fc989a883 (patch)
tree30287f366a774c53ca4e500234fa9f5ea260ac10 /Documentation/media/uapi/v4l/userp.rst
parent303393393d9ae4a4b95765378c9686e08fda90ae (diff)
downloadlinux-282f02cb863594d9f39b7b89a92eeb7fc989a883.tar.xz
[media] doc-rst: Don't use captions for examples
Unfortunately, captions are new on Sphinx for c blocks: it was added only on version 1.3. Also, it were already bad enough not being able to auto-numerate them. So, let's give up and use, instead, titles before the examples. Not much is lost, and, as a side track, we don't need to numerate them anymore. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/userp.rst')
-rw-r--r--Documentation/media/uapi/v4l/userp.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/media/uapi/v4l/userp.rst b/Documentation/media/uapi/v4l/userp.rst
index 2f0002bfbc3f..0871c204dc6c 100644
--- a/Documentation/media/uapi/v4l/userp.rst
+++ b/Documentation/media/uapi/v4l/userp.rst
@@ -26,9 +26,10 @@ No buffers (planes) are allocated beforehand, consequently they are not
indexed and cannot be queried like mapped buffers with the
:ref:`VIDIOC_QUERYBUF <VIDIOC_QUERYBUF>` ioctl.
+Example: Initiating streaming I/O with user pointers
+====================================================
.. code-block:: c
- :caption: Example 3.3. Initiating streaming I/O with user pointers
struct v4l2_requestbuffers reqbuf;