提交 013504f5 编写于 作者: M Mauro Carvalho Chehab

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: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 c7685f27
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册