[vlc-commits] macosx: fixed crash on quit while the video plays in the detached window
Felix Paul Kühne
git at videolan.org
Mon Mar 5 20:48:59 CET 2012
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar 5 20:26:06 2012 +0100| [6999dfdcaf241f1acf6768fbb63cca42582d57b9] | committer: Felix Paul Kühne
macosx: fixed crash on quit while the video plays in the detached window
(cherry picked from commit 48897cfc6d9bbd43ef2e9d6a5369210dde3d8b8a)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=6999dfdcaf241f1acf6768fbb63cca42582d57b9
---
modules/gui/macosx/intf.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index a5c7d63..1c343ab 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1705,7 +1705,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
- (void)setActiveVideoPlayback:(BOOL)b_value
{
b_active_videoplayback = b_value;
- [o_mainwindow setVideoplayEnabled];
+ [o_mainwindow performSelectorOnMainThread:@selector(setVideoplayEnabled) withObject: nil waitUntilDone:NO];
[o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) withObject: nil waitUntilDone:NO];
}
More information about the vlc-commits
mailing list