[vlc-devel] commit: macosx: pl_CurrentInput doesn't take a playlist as argument. ( Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 26 18:28:46 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Aug 26 16:02:20 2009 +0200| [6aa4137f4bf502573cc20428c8603616dd08a0f6] | committer: Pierre d'Herbemont 

macosx: pl_CurrentInput doesn't take a playlist as argument.

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

 modules/gui/macosx/intf.m |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 5d98ed2..79c934a 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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)




More information about the vlc-devel mailing list