<div dir="ltr">Hi Alex, Thanks for your response. I am using VDPAU API for Nvidia GPUs and windows created with simple Xlib calls, so when I destroy the presentation queue, the window becomes green, I tried VDPAU background color but that I believe will go away when presentation queue is destroyed. <br>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 8:00 AM, Alex Deucher <span dir="ltr"><<a href="mailto:alexdeucher@gmail.com" target="_blank">alexdeucher@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri, May 10, 2013 at 10:41 AM, Ratin <<a href="mailto:ratin3@gmail.com">ratin3@gmail.com</a>> wrote:<br>
> Hi All, I am using hardware accelerated video rendering on X windows, I want<br>
> to set the default background color for windows to be black. It seems that<br>
> every effort of doing that fails, i.e. when the HW accelerated video display<br>
> queue is terminated, I end up with a green window, not black or alpha<br>
> blended window showing whatever left at the GPU queue. I wanted to know if<br>
> there is a way I can guarantee it will always be black when the HW backend<br>
> process finishes with the window. Any body got any clue?<br>
<br>
</div></div>It depends on the hardware/player/API. What combination are you using?<br>
<br>
If you are using a video overlay with Xv for example, you can set the<br>
colorkey to black via Xv attributes.<br>
<span class="HOEnZb"><font color="#888888"><br>
Alex<br>
</font></span></blockquote></div><br></div></div></div>