Commit 0d62ffd8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32 Vout: after the previous fix of Win32 Vout, the fullscreen mode wasn't...

Win32 Vout: after the previous fix of Win32 Vout, the fullscreen mode wasn't kept for the next item. This fixes that.
parent a504a045
......@@ -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 )
......
......@@ -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 )
......
......@@ -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 )
......
......@@ -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 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment