OBJECT_INPUT->OBJECT_PLAYLIST
authorJérome Decoodt <djc@videolan.org>
Sun, 4 Jun 2006 20:53:54 +0000 (20:53 +0000)
committerJérome Decoodt <djc@videolan.org>
Sun, 4 Jun 2006 20:53:54 +0000 (20:53 +0000)
Thanks to xtophe

modules/misc/growl.c

index 162175d..194a295 100644 (file)
@@ -145,7 +145,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     char *psz_album = NULL;
     input_thread_t *p_input;
 
-    p_playlist = (playlist_t *)vlc_object_find( p_this, VLC_OBJECT_INPUT,
+    p_playlist = (playlist_t *)vlc_object_find( p_this, VLC_OBJECT_PLAYLIST,
                                                 FIND_ANYWHERE );
     if( !p_playlist ) return VLC_EGENERIC;