vlc | branch: master | David Fuhrmann <[email protected]> | Wed Dec 
12 18:47:54 2012 +0100| [1cddb78c614beb227f3127df3d7b5245f4bcf451] | committer: 
David Fuhrmann

macosx: fix crash when playing media in lion fullscreen mode

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cddb78c614beb227f3127df3d7b5245f4bcf451
---

 modules/gui/macosx/ControlsBar.m |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/macosx/ControlsBar.m b/modules/gui/macosx/ControlsBar.m
index ab5bff0..cadfe58 100644
--- a/modules/gui/macosx/ControlsBar.m
+++ b/modules/gui/macosx/ControlsBar.m
@@ -356,7 +356,8 @@
 
 - (void)setFullscreenState:(BOOL)b_fullscreen
 {
-    [o_fullscreen_btn setState:b_fullscreen];
+    if (!b_nativeFullscreenMode)
+        [o_fullscreen_btn setState:b_fullscreen];
 }
 
 @end

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to