- maybe found the fullscreen bug, please test :)
authorArnaud de Bossoreille de Ribou <bozo@videolan.org>
Mon, 8 Jan 2001 22:56:06 +0000 (22:56 +0000)
committerArnaud de Bossoreille de Ribou <bozo@videolan.org>
Mon, 8 Jan 2001 22:56:06 +0000 (22:56 +0000)
plugins/sdl/vout_sdl.c

index 2316218..33fb42d 100644 (file)
@@ -90,7 +90,7 @@ int vout_SDLCreate( vout_thread_t *p_vout, char *psz_display,
     p_vout->p_sys->p_overlay = NULL;
 
     /* Initialize library */
-    if( SDL_Init(SDL_INIT_VIDEO) < 0 )
+    if( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTTHREAD) < 0 )
     {
         intf_ErrMsg( "error: can't initialize SDL library: %s",
                      SDL_GetError() );