]> git.sesse.net Git - vlc/commitdiff
macosx: fixed compilation warning and potential runtime exception
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 3 Feb 2013 20:05:23 +0000 (21:05 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 3 Feb 2013 20:05:23 +0000 (21:05 +0100)
modules/gui/macosx/intf.m

index b16c1fd5f5055b5af9d4b536857afbb1b8497686..ea12ce1318dd9363cfd542945568ba3031e590d0 100644 (file)
@@ -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];