summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authornanahi <130121847+na-na-hi@users.noreply.github.com>2023-12-26 11:22:39 -0500
committersfan5 <sfan5@live.de>2023-12-28 21:54:09 +0100
commit3bf8564a4f71c98a29a806142559744897e1f14f (patch)
tree8c2d551906ca13fee6369586147e45b7a7615dc7 /DOCS/man/options.rst
parent26df531b149e49f5897a36f87ba54a0d21fb5e34 (diff)
downloadmpv-3bf8564a4f71c98a29a806142559744897e1f14f.tar.bz2
mpv-3bf8564a4f71c98a29a806142559744897e1f14f.tar.xz
DOCS/man: use the correct directive type for "Warning" admonitions
Some places in the manpage uses `.. admonition:: Warning` instead of the specific directive type `.. warning::` for warning admonitions. This causes the "Warning" text appearing in black color instead of red. Correct them here.
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 78ca82366a..72a464ba30 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -1961,7 +1961,7 @@ Audio
In earlier mpv versions you could use ``--ad`` to force the spdif wrapper.
This does not work anymore.
- .. admonition:: Warning
+ .. warning::
There is not much reason to use this. HDMI supports uncompressed
multichannel PCM, and mpv supports lossless DTS-HD decoding via
@@ -1988,7 +1988,7 @@ Audio
``--ad=help``
List all available decoders.
- .. admonition:: Warning
+ .. warning::
Enabling compressed audio passthrough (AC3 and DTS via SPDIF/HDMI) with
this option is not possible. Use ``--audio-spdif`` instead.
@@ -2080,7 +2080,7 @@ Audio
``--ad-spdif-dtshd=<yes|no>``, ``--dtshd``, ``--no-dtshd``
If DTS is passed through, use DTS-HD.
- .. admonition:: Warning
+ .. warning::
This and enabling passthrough via ``--ad`` are deprecated in favor of
using ``--audio-spdif=dts-hd``.
@@ -2138,7 +2138,7 @@ Audio
work-around for this on some AOs is to use ``--audio-exclusive=yes`` to
circumvent the system mixer entirely.
- .. admonition:: Warning
+ .. warning::
Using ``auto`` can cause issues when using audio over HDMI. The OS will
typically report all channel layouts that _can_ go over HDMI, even if
@@ -2284,7 +2284,7 @@ Audio
Not all AOs support this.
- .. admonition:: Warning
+ .. warning::
This modifies certain subtle player behavior, like A/V-sync and underrun
handling. Enabling this option is strongly discouraged.
@@ -2406,7 +2406,7 @@ Subtitles
some margin between the bottom and the subtitle. Values above 100 move the
subtitle further down.
- .. admonition:: Warning
+ .. warning::
Text subtitles (as opposed to image subtitles) may be cut off if the
value of the option is above 100. This is a libass restriction.
@@ -2452,7 +2452,7 @@ Subtitles
:normal: FreeType autohinter, normal mode
:native: font native hinter
- .. admonition:: Warning
+ .. warning::
Enabling hinting can lead to mispositioned text (in situations it's
supposed to match up video background), or reduce the smoothness
@@ -5842,7 +5842,7 @@ them.
and overwrites the internal list with it. The latter is a path list option
(see `List Options`_ for details).
- .. admonition:: Warning
+ .. warning::
The syntax is not stable yet and may change any time.