Commit b58398f2 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: buffer.rst: fix a PDF output issue

Sphinx/LaTeX doesn't work well with literal blocks.
Due to that, V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF ends
being writing outside the table (and even outside the page).

We need to not only change the table size and font size, but
also to change the message, in order to avoid this bug.

So, improve the text a little bit, while ensuring that the
literal will be written at the beginning of the second line.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent e89dbb12
...@@ -452,16 +452,16 @@ Buffer Flags ...@@ -452,16 +452,16 @@ Buffer Flags
.. raw:: latex .. raw:: latex
\small \footnotesize
.. tabularcolumns:: |p{7.0cm}|p{2.1cm}|p{8.4cm}| .. tabularcolumns:: |p{6.5cm}|p{1.8cm}|p{9.0cm}|
.. cssclass:: longtable .. cssclass:: longtable
.. flat-table:: .. flat-table::
:header-rows: 0 :header-rows: 0
:stub-columns: 0 :stub-columns: 0
:widths: 3 1 4 :widths: 65 18 70
* .. _`V4L2-BUF-FLAG-MAPPED`: * .. _`V4L2-BUF-FLAG-MAPPED`:
...@@ -585,7 +585,7 @@ Buffer Flags ...@@ -585,7 +585,7 @@ Buffer Flags
- ``V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF`` - ``V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF``
- 0x00000200 - 0x00000200
- Only valid if ``V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF`` is - Only valid if :c:type:`struct v4l2_requestbuffers` flag ``V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF`` is
set. It is typically used with stateless decoders where multiple set. It is typically used with stateless decoders where multiple
output buffers each decode to a slice of the decoded frame. output buffers each decode to a slice of the decoded frame.
Applications can set this flag when queueing the output buffer Applications can set this flag when queueing the output buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment