[MPlayer-dev-eng] Re: [PATCH] vo_xv: fix black screen in fullscreen

Marko Macek Marko.Macek at gmx.net
Wed Aug 11 22:59:50 CEST 2004


Sorry, the previous patch had unwanted .depend diff.  New one attached.

Marko Macek wrote:

> The problem seems to be caused by a race condition between 
> AUTOPAINT_COLORKEY
> and this code in handle_events:
>
> -    if (e & VO_EVENT_EXPOSE && vo_fs)
> -        vo_x11_clearwindow(mDisplay, vo_window);
>
> This sometimes causes color-key to be erased and the movie is invisible.
>
> The attached patch fixes this. It is careful to only paint either the 
> background
> (black stripes when in fullscreen) or the color-key and not both over 
> the same pixels
> (prevents blinking on resize). Also fixed is ugly flicker when one 
> drags a window over
> (lowered) fullscreen window.
>

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MPlayer-20040810-xv-noblackscreen.diff
Type: text/x-patch
Size: 3729 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040811/cee93327/attachment.bin>


More information about the MPlayer-dev-eng mailing list