]> git.sesse.net Git - vlc/commitdiff
macosx: pl_CurrentInput doesn't take a playlist as argument.
authorPierre d'Herbemont <pdherbemont@free.fr>
Wed, 26 Aug 2009 14:02:20 +0000 (16:02 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Wed, 26 Aug 2009 16:28:44 +0000 (18:28 +0200)
modules/gui/macosx/intf.m

index 5d98ed2ea78028ae93cc26e64e678ff731defeaf..79c934ae719af6553a0704f41026f31d2b3c9522 100644 (file)
@@ -286,9 +286,7 @@ input_thread_t *getInput(void)
     intf_thread_t *p_intf = VLCIntf;
     if (!p_intf)
         return NULL;
-    input_thread_t *p_input = pl_CurrentInput(p_intf);
-    pl_Release(p_playlist);
-    return p_input;
+    return pl_CurrentInput(p_intf);
 }
 
 vout_thread_t *getVout(void)