[vlc-commits] macosx: also notify vout modules if we go to fullscreen

David Fuhrmann git at videolan.org
Fri Apr 20 13:40:18 CEST 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Apr 13 13:13:14 2012 +0200| [07c2fc7c89c01a27be4115289028f22c35d19706] | committer: Felix Paul Kühne

macosx: also notify vout modules if we go to fullscreen
(cherry picked from commit 5769e0a402a4970a22f3073497f86ef4c5ed4a1b)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=07c2fc7c89c01a27be4115289028f22c35d19706
---

 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 5c56d16..cc3a075 100644
--- a/modules/gui/macosx/CoreInteraction.m
+++ b/modules/gui/macosx/CoreInteraction.m
@@ -628,7 +628,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