Commit 6015fd07 authored by Eric Petit's avatar Eric Petit

macosx/vout.m: don't forget to EndFullScreen() on GL mode too

parent 9e68cb0a
......@@ -460,13 +460,14 @@ void E_(CloseVideo) ( vlc_object_t *p_this )
msg_Err( p_vout, "unable to destroy window" );
}
if( !p_vout->p_sys->i_opengl )
{
if ( p_vout->p_sys->p_fullscreen_state != NULL )
{
EndFullScreen ( p_vout->p_sys->p_fullscreen_state, NULL );
}
if( !p_vout->p_sys->i_opengl )
{
ExitMovies();
free( p_vout->p_sys->p_matrix );
DisposeHandle( (Handle)p_vout->p_sys->h_img_descr );
}
......
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