summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-22 23:14:47 +0100
committerwm4 <wm4@nowhere>2015-12-22 23:18:46 +0100
commiteac0665b8dd2398c15aaa347ca8e5496e0dc5f2b (patch)
treecfade44410f359c4d1c51bff85a61c4096d640cf /DOCS
parent3de6c9aa42feb1695f65a6f7f0880a1877ca6e48 (diff)
downloadmpv-eac0665b8dd2398c15aaa347ca8e5496e0dc5f2b.tar.bz2
mpv-eac0665b8dd2398c15aaa347ca8e5496e0dc5f2b.tar.xz
vo_opengl: blend transparent video against tiles by default
Add a "blend-tiles" choice to the "alpha" sub-option. This is pretty simplistic and uses the GL raster position to derive the tiles. A weird consequence is that using --vo=opengl and --vo=opengl-hq gives different scaling behavior (screenspace pixel size vs. source video pixel size 16x16 tiles), but it seems we don't have easy access to the original texture coordinates. Using the rasterpos is probably simpler. Make this option the default.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/vo.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index 0b3742c4d7..bc0dd9fd12 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -957,9 +957,11 @@ Available video output drivers are:
things like softsubbed ASS signs to match the video colors,
but may cause SRT subtitles or similar to look slightly off.
- ``alpha=<blend|yes|no>``
- Decides what to do if the input has an alpha component (default: blend).
+ ``alpha=<blend-tiles|blend|yes|no>``
+ Decides what to do if the input has an alpha component.
+ blend-tiles
+ Blend the frame against a 16x16 gray/white tiles background (default).
blend
Blend the frame against a black background.
yes