[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:30:26 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Mar 5 20:26:06 2012 +0100| [48897cfc6d9bbd43ef2e9d6a5369210dde3d8b8a] | committer: Felix Paul Kühne
macosx: fixed crash on quit while the video plays in the detached window
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=48897cfc6d9bbd43ef2e9d6a5369210dde3d8b8a
---
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