[MPlayer-dev-eng] [PATCH] move check_events to after pageflip

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Nov 23 20:35:39 CET 2011


On Wed, Nov 23, 2011 at 01:33:07PM +0100, kirin_e at users.sourceforge.net wrote:
> when resizing the output window the event is handled by the vo after drawing but before flipping. This means the vo has to redraw/resize the already drawn frame or end up showing an incorrect frame. Attached is a simple patch to mplayer.c that moves check_events to right after the pageflip, so the vo can start drawing the correct size right away instead.

I expect that GUI_HANDLE_EVENTS should always be at the same place as
the check_events call.


More information about the MPlayer-dev-eng mailing list