vlc | branch: master | Felix Paul Kühne <[email protected]> | Fri Jan  6 
20:14:58 2012 +0100| [52eae1b9ed74a3dbcd0ff39345c4da3316fa587c] | committer: 
Felix Paul Kühne

macosx: fixed rare crash when reshaping the video view (fixes #5740)

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

 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 0256e1c..1ec3e07 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1645,7 +1645,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
 {
     b_active_videoplayback = b_value;
     [o_mainwindow setVideoplayEnabled];
-    [o_mainwindow togglePlaylist:nil];
+    [o_mainwindow performSelectorOnMainThread:@selector(togglePlaylist:) 
withObject: nil waitUntilDone:NO];
 }
 
 - (BOOL)activeVideoPlayback

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

Reply via email to