[vlc-commits] macosx: fixed a crash when stressing the playlist by adding a larger number of new items

Felix Paul Kühne git at videolan.org
Sat Jan 21 00:13:35 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jan 20 10:25:12 2012 -0800| [75beeaed4f5a27201cc6310d1b8bef5505754a0d] | committer: Felix Paul Kühne

macosx: fixed a crash when stressing the playlist by adding a larger number of new items

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

 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 85d1607..db9d5c1 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -279,7 +279,7 @@ static int InputEvent( vlc_object_t *p_this, const char *psz_var,
         case INPUT_EVENT_ITEM_INFO:
             [[VLCMain sharedInstance] performSelectorOnMainThread:@selector(updateMainMenu) withObject: nil waitUntilDone:NO];
             [[VLCMain sharedInstance] updateName];
-            [[VLCMain sharedInstance] updateInfoandMetaPanel];
+            [[VLCMain sharedInstance] performSelectorOnMainThread:@selector(updateInfoandMetaPanel) withObject: nil waitUntilDone:NO];
             break;
         case INPUT_EVENT_BOOKMARK:
             break;



More information about the vlc-commits mailing list