[MPlayer-dev-eng] [PATCH] Avoid remapping of X11 window with -wid and -fixed-vo

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jul 19 09:13:55 CEST 2007


Hello,
On Thu, Jul 19, 2007 at 12:35:55PM +0800, Timothy Lee wrote:
>  The attached patch prevents unmapping/mapping of external X11 window when 
>  -fixed-vo is specified.  The difference is most noticeable using:
> 
>     mplayer -wid <id> -fixed-vo -loop 0 <movies ...>
> 
>  Without the patch, the external X11 window is unmapped then mapped 
>  in-between  movies, causing a noticable blink.  With the patch, a smooth 
>  transition is achieved.

Can someone comment if the unmap/map cycle is at all necessary? Because
during window creation XChangeWindowAttributes is called on a mapped
window, and I think it didn't create much problems...

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list