diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-10 08:22:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-10 08:31:24 -0300 |
commit | 282f02cb863594d9f39b7b89a92eeb7fc989a883 (patch) | |
tree | 30287f366a774c53ca4e500234fa9f5ea260ac10 /Documentation/media/uapi/v4l/standard.rst | |
parent | 303393393d9ae4a4b95765378c9686e08fda90ae (diff) | |
download | op-kernel-dev-282f02cb863594d9f39b7b89a92eeb7fc989a883.zip op-kernel-dev-282f02cb863594d9f39b7b89a92eeb7fc989a883.tar.gz |
[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/standard.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/standard.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/media/uapi/v4l/standard.rst b/Documentation/media/uapi/v4l/standard.rst index 538588e..529891c 100644 --- a/Documentation/media/uapi/v4l/standard.rst +++ b/Documentation/media/uapi/v4l/standard.rst @@ -64,9 +64,10 @@ Applications can make use of the :ref:`input-capabilities` and :ref:`output-capabilities` flags to determine whether the video standard ioctls can be used with the given input or output. +Example: Information about the current video standard +===================================================== .. code-block:: c - :caption: Example 1.5. Information about the current video standard v4l2_std_id std_id; struct v4l2_standard standard; @@ -100,9 +101,10 @@ standard ioctls can be used with the given input or output. exit(EXIT_FAILURE); } +Example: Listing the video standards supported by the current input +=================================================================== .. code-block:: c - :caption: Example 1.6. Listing the video standards supported by the current input struct v4l2_input input; struct v4l2_standard standard; @@ -139,9 +141,10 @@ standard ioctls can be used with the given input or output. exit(EXIT_FAILURE); } +Example: Selecting a new video standard +======================================= .. code-block:: c - :caption: Example 1.7. Selecting a new video standard struct v4l2_input input; v4l2_std_id std_id; |