[media] doc-rst: fix htmldocs build warnings
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 12:11:12 +0000 (09:11 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 13:56:21 +0000 (10:56 -0300)
Fix those warnings:
Documentation/output/videodev2.h.rst:6: WARNING: undefined label: vidioc_unsubscribe_event (if the link has no caption the label must precede a section header)
Documentation/media/uapi/v4l/dev-overlay.rst:248: WARNING: Title underline too short.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/v4l/dev-overlay.rst
Documentation/media/uapi/v4l/vidioc-subscribe-event.rst
Documentation/media/videodev2.h.rst.exceptions

index 3edb53bfaa276c775cce7bfb65d26d03361b30bd..92b4471b0c6e04d7a61b49acd38bc50241d81f70 100644 (file)
@@ -245,7 +245,7 @@ exceeded are undefined. [#f3]_
 .. _v4l2-clip:
 
 struct v4l2_clip [#f4]_
----------------------
+-----------------------
 
 ``struct v4l2_rect c``
     Coordinates of the clipping rectangle, relative to the top, left
index 3ed91c6277022bd618cd0425804bc575c7ba7739..3f28e8c4796055de935b979d3f7a9aa5eacb7f98 100644 (file)
@@ -1,6 +1,7 @@
 .. -*- coding: utf-8; mode: rst -*-
 
 .. _VIDIOC_SUBSCRIBE_EVENT:
+.. _VIDIOC_UNSUBSCRIBE_EVENT:
 
 ******************************************************
 ioctl VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT
@@ -54,8 +55,8 @@ using the :ref:`VIDIOC_DQEVENT` ioctl.
        -  Type of the event, see :ref:`event-type`.
 
          .. note:: ``V4L2_EVENT_ALL`` can be used with
-            :ref:`VIDIOC_UNSUBSCRIBE_EVENT` for unsubscribing all events
-            at once.
+            :ref:`VIDIOC_UNSUBSCRIBE_EVENT <VIDIOC_SUBSCRIBE_EVENT>` for
+            unsubscribing all events at once.
 
     -  .. row 2
 
index 46eae619a0a5370f5af6df59d94a08f3425e3747..9bb9a6cc39d8f12b56edbed16cc650da44b1e472 100644 (file)
@@ -531,6 +531,5 @@ replace ioctl VIDIOC_TRY_ENCODER_CMD vidioc_encoder_cmd
 replace ioctl VIDIOC_TRY_EXT_CTRLS vidioc_g_ext_ctrls
 replace ioctl VIDIOC_TRY_FMT vidioc_g_fmt
 replace ioctl VIDIOC_STREAMOFF vidioc_streamon
-replace ioctl VIDIOC_UNSUBSCRIBE_EVENT vidioc_subscribe_event
 replace ioctl VIDIOC_QUERY_EXT_CTRL vidioc_queryctrl
 replace ioctl VIDIOC_QUERYMENU vidioc_queryctrl
This page took 0.026195 seconds and 5 git commands to generate.