[MPlayer-dev-eng] [PATCH] avoid flickering while resize

Tomas Simonaitis haden at homelan.lt
Fri Aug 22 12:41:57 CEST 2003


Hi,

while resizing mplayer window in opaque mode X clears contents to background 
color (black) which causes clearly visible flickering (which looks really 
ugly)
This patch fixes this behavior by not allowing X to clear window contents, 
also there are workarounds for fs mode (otherwise borders places would be 
filled with trash instead of bg color).

I've also added pause fix (contents where lost if window is exposed while 
movie is paused).

Patch applies for vo_xv only.

I've tested in many situations, however cosmetic problems due non-clearing 
behavior may appear (thought I haven't found such situation) otoh they should 
be easy to fix.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_x11c.diff
Type: text/x-diff
Size: 601 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030822/fd145b2b/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_xv.diff
Type: text/x-diff
Size: 3698 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030822/fd145b2b/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list