mirror of https://github.com/mpv-player/mpv
ab81af477c
The VDPAU default colorkey, although it seems to be driver specific, is usually green. This is a pretty annoying color, and you usually see it briefly (as flashes) if the VDPAU window resizes. Change it to some shade of black. The new default color is close to what MPlayer picks as colorkey (and apparently it worked well for them): VdpColor vdp_bg = {0.01, 0.02, 0.03, 0}; Since our OPT_COLOR can set 8 bit colors only, we use '#020507' instead, which should be the same assuming 8 bit colors. Obviously, you can't use black, because black is a way too common color, and would make it too easy to observe the colorkey effect when e.g. moving a terminal with black background over the video window. |
||
---|---|---|
.. | ||
af.rst | ||
ao.rst | ||
changes.rst | ||
encode.rst | ||
input.rst | ||
mpv.rst | ||
options.rst | ||
vf.rst | ||
vo.rst |