[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 22:21:00 CET 2012


vlc/vlc-1.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jan 20 10:25:12 2012 -0800| [2022042fca95760af0be90a2eb10d58051e6bdeb] | committer: Jean-Baptiste Kempf

macosx: fixed a crash when stressing the playlist by adding a larger number of new items
(cherry picked from commit 75beeaed4f5a27201cc6310d1b8bef5505754a0d)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=2022042fca95760af0be90a2eb10d58051e6bdeb
---

 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