提交 498e9f3b 编写于 作者: M Mauro Carvalho Chehab

doc-rst: dev-osd: Fix some issues due to conversion

The conversion to ReST broke a minor things. Fix them.

While here, also make EBUSY constant, just like on other places.
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 471e5602
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
Video Output Overlay Interface Video Output Overlay Interface
****************************** ******************************
**Also known as On-Screen Display (OSD)** **Also known as On-Screen Display (OSD)**
Some video output devices can overlay a framebuffer image onto the Some video output devices can overlay a framebuffer image onto the
outgoing video signal. Applications can set up such an overlay using outgoing video signal. Applications can set up such an overlay using
this interface, which borrows structures and ioctls of the this interface, which borrows structures and ioctls of the
...@@ -48,10 +48,11 @@ the ``linux/fb.h`` header file. ...@@ -48,10 +48,11 @@ the ``linux/fb.h`` header file.
The width and height of the framebuffer depends on the current video The width and height of the framebuffer depends on the current video
standard. A V4L2 driver may reject attempts to change the video standard standard. A V4L2 driver may reject attempts to change the video standard
(or any other ioctl which would imply a framebuffer size change) with an (or any other ioctl which would imply a framebuffer size change) with an
EBUSY error code until all applications closed the framebuffer device. ``EBUSY`` error code until all applications closed the framebuffer device.
.. code-block:: c .. code-block:: c
:caption: Example 4.1. Finding a framebuffer device for OSD
#include <linux/fb.h> #include <linux/fb.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册