Commit 9507a480 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix playlist use. Fix #2153

parent b1c512dc
...@@ -141,10 +141,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var, ...@@ -141,10 +141,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
char *psz_artist = NULL; char *psz_artist = NULL;
char *psz_album = NULL; char *psz_album = NULL;
char *psz_buf = NULL; char *psz_buf = NULL;
playlist_t *p_playlist = pl_Hold( p_this ); input_thread_t *p_input = playlist_CurrentInput( (playlist_t *) p_this );
input_thread_t *p_input = playlist_CurrentInput( p_playlist );
pl_Release( p_this );
if( !p_input ) return VLC_SUCCESS; if( !p_input ) return VLC_SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment