[MPlayer-dev-eng] Flickering video when resizing

Ingo Brückl ib at wupperonline.de
Thu Jan 17 03:25:20 CET 2013


Hans-Dieter Kosch wrote on Thu, 17 Jan 2013 01:50:26 +0100:

> Ingo Brückl wrote:
>>
>> I now have to figure out whether it is possible to switch off X window
>> background attributes during playback, because I need it otherwise for the
>> video window without playback.

> Maybe, you can set the background of the GUI window to 'transparent' (no
> defined background) during playing by
> XSetWindowBackgroundPixmap(display, window, None)

That's what I was looking for!

> and reset after playing to defined color by
> XSetWindowBackground(display, window, background_pixel_color)

We're already doing this, so no extra code needed.

> Hope this could be helpful...

You betcha!

Thanks a million,

Ingo


More information about the MPlayer-dev-eng mailing list