[MPlayer-dev-eng] [PATCH] Fix for vo_gl2 fullscreen mode

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Feb 24 22:16:15 CET 2004


Hi,

currently, when vo_gl2 is started in fullscreen (e.g. with -fs) and you 
press 'f', MPlayer crashes.
The reason is that vo_x11_fullscreen tries to restore the old window 
size, but as it wasn't used to switch into fs mode it doesn't have the 
values and uses 0 for width and height, which XMoveResizeWindow doesn't 
like.
This patch fixes the problem, although I doubt it is perfect. Please 
apply unless you have a better idea (which would be very welcome).

Greetings,
Reimar
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gl2_fs_fix.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040224/d6d98d9d/attachment.txt>


More information about the MPlayer-dev-eng mailing list