[MPlayer-dev-eng] [PATCH] Fix for VDPAU green background

Stephen Warren swarren at nvidia.com
Tue Jul 27 17:43:30 CEST 2010


Vlad Seryakov wrote:
> While using VDPAU output, there is green background every time the video window got resized or
> obscured by another window. It has nothing to do with colorkey which work for xv driver, it turned out
> that VDPAU has its own background color and for some reason it used green color, setting X11 colorkey
> to any value has no effect on VDPAU background.
> This patch just sets default background to black, i though about introducing a parameter but is it
> really useful to have ability to change default background for video window?

While selecting a color other than green may be less obvious and make sense
for MPlayer, the particular selection of black (0, 0, 0) is a very bad idea;
that's likely to be a pretty common color and hence cause artifacts to show
up if windows are placed over the top of the MPlayer window.

-- 
Nvpublic



More information about the MPlayer-dev-eng mailing list