[vlc-commits] macosx: fix crash when playing media in lion fullscreen mode
David Fuhrmann
git at videolan.org
Wed Dec 12 19:13:55 CET 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | 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
More information about the vlc-commits
mailing list