[vlc-commits] macosx: also notify vout modules if we go to fullscreen
David Fuhrmann
git at videolan.org
Fri Apr 13 13:35:10 CEST 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Apr 13 13:13:14 2012 +0200| [5769e0a402a4970a22f3073497f86ef4c5ed4a1b] | committer: David Fuhrmann
macosx: also notify vout modules if we go to fullscreen
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5769e0a402a4970a22f3073497f86ef4c5ed4a1b
---
modules/gui/macosx/CoreInteraction.m | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/CoreInteraction.m b/modules/gui/macosx/CoreInteraction.m
index e8aaff6..d78bc7d 100644
--- a/modules/gui/macosx/CoreInteraction.m
+++ b/modules/gui/macosx/CoreInteraction.m
@@ -624,7 +624,14 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
if (!p_intf)
return;
- var_ToggleBool( pl_Get( p_intf ), "fullscreen" );
+ BOOL b_fs = var_ToggleBool( pl_Get( p_intf ), "fullscreen" );
+
+ vout_thread_t *p_vout = getVout();
+ if( p_vout )
+ {
+ var_SetBool( p_vout, "fullscreen", b_fs );
+ vlc_object_release( p_vout );
+ }
}
@end
More information about the vlc-commits
mailing list