summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2020-12-05 09:39:10 +0100
committerDudemanguy <random342@airmail.cc>2020-12-08 17:27:25 +0000
commit6aa7dbdb84f1a6a3dd227c89d0d47b8c1b51e736 (patch)
tree3580817c5e83d992c19b3fcdd53cb6b9f666dfce /DOCS/man/options.rst
parentd4bf179e78016f6145a7fa4a202c7f25887994e9 (diff)
downloadmpv-6aa7dbdb84f1a6a3dd227c89d0d47b8c1b51e736.tar.bz2
mpv-6aa7dbdb84f1a6a3dd227c89d0d47b8c1b51e736.tar.xz
manpage: document background transparency
--alpha=yes doesn't affect only transparent videos and images, but also the background. I spent time researching how to implement transparent backgrounds and had no idea that they already worked at least on Wayland. Background transparency will work on X11 when https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2376 is merged. It doesn't work on Windows. No idea about macOS. Either way, this paragraph already says that it only works on certain environments twice. References #6590
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 6b4757d5c5..db3a8db500 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -6376,13 +6376,13 @@ The following video options are currently all specific to ``--vo=gpu`` and
black).
yes
Try to create a framebuffer with alpha component. This only makes sense
- if the video contains alpha information (which is extremely rare). May
- not be supported on all platforms. If alpha framebuffers are
- unavailable, it silently falls back on a normal framebuffer. Note that
- if you set the ``--fbo-format`` option to a non-default value, a
- format with alpha must be specified, or this won't work.
- Whether this really works depends on the windowing system and desktop
- environment.
+ if the video contains alpha information (which is extremely rare) or if
+ you make the background color transparent. May not be supported on all
+ platforms. If alpha framebuffers are unavailable, it silently falls
+ back on a normal framebuffer. Note that if you set the ``--fbo-format``
+ option to a non-default value, a format with alpha must be specified,
+ or this won't work. Whether this really works depends on the windowing
+ system and desktop environment.
no
Ignore alpha component.