From 6aa7dbdb84f1a6a3dd227c89d0d47b8c1b51e736 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sat, 5 Dec 2020 09:39:10 +0100 Subject: 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 --- DOCS/man/options.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'DOCS') 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. -- cgit v1.2.3