diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-06-30 22:45:08 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-01 14:53:47 -0300 |
| commit | 013504f5371b2ceb1403c550a0e9d9cf2bdaee61 (patch) | |
| tree | dce96083be4ac0d572c11e5545752c06116344a2 | |
| parent | c7685f279704f0f3aa628d9e441ec19f6b2bf1a2 (diff) | |
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>
| -rw-r--r-- | Documentation/linux_tv/media/v4l/video.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/linux_tv/media/v4l/video.rst b/Documentation/linux_tv/media/v4l/video.rst index f214bd835622..fc220be52c2b 100644 --- a/Documentation/linux_tv/media/v4l/video.rst +++ b/Documentation/linux_tv/media/v4l/video.rst @@ -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; |
