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

Stephen Warren swarren at nvidia.com
Tue Jul 27 19:40:03 CEST 2010


Vlad Seryakov wrote:
> Sent: Tuesday, July 27, 2010 11:25 AM
> To: mplayer-dev-eng at mplayerhq.hu
> Subject: [MPlayer-dev-eng] [PATCH] Fix for VDPAU green background
> 
> > Dan Oscarsson
> > 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.
> >
> 
> Is this VDPAU background works as a colorkey?

Yes. When the overlay-based presentation queue path is in use, it is
literally the color key value. When using the overlay or blitting, it is
a fill color for regions of the destination drawable that are not
covered by the surface that is being presented (or that the clip
width/height parameters clip away from the surface).

> Because if it is it makes sense to use vo_colorkey, but by its name it
> seems to me just solid background color. In any case, parameter with
> color would be nice to have and i can write one if -colorkey is not a
> good option here.
> 
> What would be a good way if anybody have suggestions?
> 
> I think there are two options:
> - global parameter like -colorkey
> - local parameter, like vo=vdpau:ck=xxxx

-- 
nvpublic



More information about the MPlayer-dev-eng mailing list