char *psz_artist = NULL;
char *psz_album = NULL;
input_thread_t *p_input;
- playlist_t *p_playlist = pl_Hold( p_this );
-
- p_input = playlist_CurrentInput( p_playlist );
- pl_Release( p_this );
+ p_input = playlist_CurrentInput( (playlist_t*)p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_hold( p_input );
char *psz_artist = NULL;
char *psz_album = NULL;
input_thread_t *p_input;
- playlist_t *p_playlist = pl_Hold( p_this );
-
- p_input = playlist_CurrentInput( p_playlist );
- pl_Release( p_this );
+ p_input = playlist_CurrentInput( (playlist_t*)p_this );
if( !p_input ) return VLC_SUCCESS;
vlc_object_hold( p_input );