]> git.sesse.net Git - vlc/commitdiff
Win32 Vout: after the previous fix of Win32 Vout, the fullscreen mode wasn't kept...
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 2 Oct 2008 06:29:09 +0000 (23:29 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 2 Oct 2008 08:40:00 +0000 (01:40 -0700)
modules/video_output/msw/direct3d.c
modules/video_output/msw/directx.c
modules/video_output/msw/glwin32.c
modules/video_output/msw/wingdi.c

index ea02a4d5157953b18f959b0dd4b8f0aef00b5f68..8e1c07f3f66da878aa679562e561a6d171a2a12c 100644 (file)
@@ -270,8 +270,10 @@ static void CloseVideo( vlc_object_t *p_this )
 
     if( p_vout->b_fullscreen )
     {
-        Win32ToggleFullscreen( p_vout );
         msg_Dbg( p_vout, "Quitting fullscreen" );
+        Win32ToggleFullscreen( p_vout );
+        /* Force fullscreen in the core for the next video */
+        var_SetBool( p_vout, "fullscreen", true );
     }
 
     if( p_vout->p_sys->p_event )
index 043c4a85965025c9e6231d74d91e4d487ff759fd..4720f98b326b5638a6737dbc0bf8a56cff05ebca 100644 (file)
@@ -490,8 +490,10 @@ static void CloseVideo( vlc_object_t *p_this )
 
     if( p_vout->b_fullscreen )
     {
-        Win32ToggleFullscreen( p_vout );
         msg_Dbg( p_vout, "Quitting fullscreen" );
+        Win32ToggleFullscreen( p_vout );
+        /* Force fullscreen in the core for the next video */
+        var_SetBool( p_vout, "fullscreen", true );
     }
 
     if( p_vout->p_sys->p_event )
index bf49e2b40d1f61266879aec10a05f04bc68af528..c0fd6c080be26cef9d3ab9fe468095ea0b63e612 100644 (file)
@@ -222,8 +222,10 @@ static void CloseVideo( vlc_object_t *p_this )
 
     if( p_vout->b_fullscreen )
     {
-        Win32ToggleFullscreen( p_vout );
         msg_Dbg( p_vout, "Quitting fullscreen" );
+        Win32ToggleFullscreen( p_vout );
+        /* Force fullscreen in the core for the next video */
+        var_SetBool( p_vout, "fullscreen", true );
     }
 
     if( p_vout->p_sys->p_event )
index 874ed302e64b498ea700ae953649111dd41f9881..251e55f1c321bf8284d597598cf502bfb19451d3 100644 (file)
@@ -315,8 +315,10 @@ static void CloseVideo ( vlc_object_t *p_this )
 
     if( p_vout->b_fullscreen )
     {
-        Win32ToggleFullscreen( p_vout );
         msg_Dbg( p_vout, "Quitting fullscreen" );
+        Win32ToggleFullscreen( p_vout );
+        /* Force fullscreen in the core for the next video */
+        var_SetBool( p_vout, "fullscreen", true );
     }
 
     if( p_vout->p_sys->p_event )