assert( p_sys->p_input == NULL );
/* FIXME: proper locking anyone? */
- p_sys->p_input = p_sys->p_playlist->p_input;
+ p_sys->p_input = playlist_CurrentInput( p_sys->p_playlist );
if( p_sys->p_input )
{
- vlc_object_hold( p_sys->p_input );
var_Get( p_sys->p_input, "position", &val);
sprintf( position, "%d" , (int)((val.f_float) * 100.0));
var_Get( p_sys->p_input, "time", &val);