[MPlayer-cygwin] [PATCH] gui fullscreen switching

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jul 23 20:06:44 CEST 2006


Hello,
On Sun, Jul 23, 2006 at 12:00:37PM -0400, Erik Lunchpail wrote:
> Furthermore, there are still some issues when resizing the sub window
> when using vo_gl and vo_gl2. The video doesn't seem to resize along
> with the window. Again, i'll have to look at it and submit a separate
> patch if I can find the problem.

They have no way of knowing that the window was resized, you must
somehow pass that information on to
vo_w32_check_events in libvo/w32_common.c. You must have stored the new
window dimensions into vo_dwidth and vo_dheight before.
See the WndProc in the same file for how to do it (you must use
GetClientRect, because the dimensions including the border would be
incorrect).
See also x11_common.c, vo_x11_check_events for how it is done here (via
calling the guiGetEvent function).

Greetings,
Reimar Döffinger



More information about the MPlayer-cygwin mailing list