[MPlayer-dev-eng] [PATCH] Fix for VDPAU green background
Dan Oscarsson
Dan.Oscarsson at tieto.com
Tue Jul 27 18:30:52 CEST 2010
tis 2010-07-27 klockan 08:43 -0700 skrev Stephen Warren:
> 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.
>
You are right. I have noted that as a somewhat amusing fact where part
of a movie shows up/through in the covering window.
If we do not want that to happen, how do we select a background colour
that is less disturbing than green but is not used as much.
I did a quick test with (0, 0, 0.1) and that is much better.
Dan
More information about the MPlayer-dev-eng
mailing list