mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
doc-rst: video: Restore the captions for the examples
There are two examples in the code, but the captions of them were lost during the ReST conversion. Manually add them again. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
c7685f2797
commit
013504f537
1 changed files with 2 additions and 1 deletions
|
@ -28,8 +28,8 @@ applications call the :ref:`VIDIOC_S_INPUT <vidioc-g-input>` and
|
|||
implement all the input ioctls when the device has one or more inputs,
|
||||
all the output ioctls when the device has one or more outputs.
|
||||
|
||||
|
||||
.. code-block:: c
|
||||
:caption: Example 1: Information about the current video input
|
||||
|
||||
struct v4l2_input input;
|
||||
int index;
|
||||
|
@ -51,6 +51,7 @@ all the output ioctls when the device has one or more outputs.
|
|||
|
||||
|
||||
.. code-block:: c
|
||||
:caption: Example 2: Switching to the first video input
|
||||
|
||||
int index;
|
||||
|
||||
|
|
Loading…
Reference in a new issue