[vlc-commits] macosx: fixed compilation warning and potential runtime exception

Felix Paul Kühne git at videolan.org
Sun Feb 3 21:44:43 CET 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Feb  3 21:05:23 2013 +0100| [55e3f94302a29e9ee76532c290c1134af5f0213e] | committer: Felix Paul Kühne

macosx: fixed compilation warning and potential runtime exception

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

 modules/gui/macosx/intf.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index b16c1fd..ea12ce1 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -404,7 +404,7 @@ static int PLItemChanged(vlc_object_t *p_this, const char *psz_var,
      * then -informInputChanged on this non-main thread. */
     [o_plItemChangedLock lock];
     [[VLCMain sharedInstance] performSelectorOnMainThread:@selector(PlaylistItemChanged) withObject:nil waitUntilDone:YES];
-    [[VLCMain sharedInstance] informInputChanged];
+    [[VLCMain sharedInstance] performSelectorOnMainThread:@selector(informInputChanged) withObject:nil waitUntilDone:YES];
     [o_plItemChangedLock unlock];
 
     [o_pool release];



More information about the vlc-commits mailing list