diff options
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r-- | libvo/gl_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index c8d949e689..c8e3884f87 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -1869,6 +1869,8 @@ static int sdl_check_events(void) { while (SDL_PollEvent(&event)) { res |= sdl_default_handle_event(&event); } + // poll "events" from within MPlayer code + res |= sdl_default_handle_event(NULL); if (res & VO_EVENT_RESIZE) sdl_set_mode(0, SDL_OPENGL | SDL_RESIZABLE); return res; |