[vlc-devel] commit: osx vout : leave fullscreen at eof if we are running embedded ( mozilla) ( Rafaël Carré )
git version control
git at videolan.org
Mon Aug 25 16:27:10 CEST 2008
vlc | branch: 0.8.6-bugfix | Rafaël Carré <rcarre at m2x.nl> | Mon Aug 25 16:29:52 2008 +0200| [7be65da9330e0a2365198a07b08814b18d4bd787] | committer: Rafaël Carré
osx vout : leave fullscreen at eof if we are running embedded (mozilla)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7be65da9330e0a2365198a07b08814b18d4bd787
---
modules/gui/macosx/voutgl.m | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/voutgl.m b/modules/gui/macosx/voutgl.m
index b7a2f5f..7fda04d 100644
--- a/modules/gui/macosx/voutgl.m
+++ b/modules/gui/macosx/voutgl.m
@@ -200,6 +200,11 @@ void E_(CloseVideoGL) ( vlc_object_t * p_this )
vout_thread_t * p_vout = (vout_thread_t *) p_this;
if( p_vout->p_sys->b_embedded )
{
+ if( p_vout->b_fullscreen )
+ {
+ p_vout->i_changes = VOUT_FULLSCREEN_CHANGE;
+ aglManage( p_vout );
+ }
aglDestroyContext(p_vout->p_sys->agl_ctx);
}
else if(!VLCIntf->b_die)
More information about the vlc-devel
mailing list