[MPlayer-dev-eng] Fullscreen not working properly after resolution change fixed (~patch included)

Jindrich Makovicka makovick at KMLinux.fjfi.cvut.cz
Wed Sep 18 12:27:45 CEST 2002


On Wed, Sep 18, 2002 at 12:02:59PM +0200, Arpi wrote:
> Hi,
> 
> > It's a hack to prevent race conditions when switching to fullscreen and back
> > too fast. I'll try to fix this till the end of this week but currently I am
> > away without access to my machine.
> 
> i've fixed it at night, please test.
> at least the race condition is still avoided, and now -fs work for
> d_width==vo_screenwidth movies.
> 
> btw, could you pls. tell me the reason for these checks (in event hndlr)
> 
> +          if (!vo_fs && (Event.xconfigure.width == vo_screenwidth ||
> Event.xconfigure.height == vo_screenheight)) break;
> +          if (vo_fs && Event.xconfigure.width != vo_screenwidth &&
> Event.xconfigure.height != vo_screenheight) break;
> 
> now i've commented these out but code is still working :)

just to be sure that nothing bad happens. if it works without these checks,
they can probably be commented out.

> 
> 
> A'rpi / Astral & ESP-team
> 
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng

-- 
Jindrich Makovicka



More information about the MPlayer-dev-eng mailing list