mirror of
https://github.com/mpv-player/mpv
synced 2025-04-26 13:19:12 +00:00
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
This commit is contained in:
parent
d4bf179e78
commit
6aa7dbdb84
@ -6376,13 +6376,13 @@ The following video options are currently all specific to ``--vo=gpu`` and
|
|||||||
black).
|
black).
|
||||||
yes
|
yes
|
||||||
Try to create a framebuffer with alpha component. This only makes sense
|
Try to create a framebuffer with alpha component. This only makes sense
|
||||||
if the video contains alpha information (which is extremely rare). May
|
if the video contains alpha information (which is extremely rare) or if
|
||||||
not be supported on all platforms. If alpha framebuffers are
|
you make the background color transparent. May not be supported on all
|
||||||
unavailable, it silently falls back on a normal framebuffer. Note that
|
platforms. If alpha framebuffers are unavailable, it silently falls
|
||||||
if you set the ``--fbo-format`` option to a non-default value, a
|
back on a normal framebuffer. Note that if you set the ``--fbo-format``
|
||||||
format with alpha must be specified, or this won't work.
|
option to a non-default value, a format with alpha must be specified,
|
||||||
Whether this really works depends on the windowing system and desktop
|
or this won't work. Whether this really works depends on the windowing
|
||||||
environment.
|
system and desktop environment.
|
||||||
no
|
no
|
||||||
Ignore alpha component.
|
Ignore alpha component.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user