]> git.sesse.net Git - vlc/blobdiff - modules/visualization/goom.c
Remove pl_Release, and rename pl_Hold back to pl_Get
[vlc] / modules / visualization / goom.c
index 8384b51181bd5c2660bf0dd4b630133b89340c50..cb847e4e6249c7e853e6862223c92e7221b6927d 100644 (file)
@@ -406,12 +406,7 @@ static void Close( vlc_object_t *p_this )
 
 static char *TitleGet( vlc_object_t *p_this )
 {
-    playlist_t *pl = pl_Hold( p_this );
-    if( !pl )
-        return NULL;
-
-    input_thread_t *p_input = playlist_CurrentInput( pl );
-    pl_Release( p_this );
+    input_thread_t *p_input = playlist_CurrentInput( pl_Get( p_this ) );
     if( !p_input )
         return NULL;