vlc_mutex_init( &p_sys->lock );
vlc_cond_init( &p_sys->wait );
- p_playlist = pl_Yield( p_intf );
+ p_playlist = pl_Hold( p_intf );
PL_LOCK;
var_AddCallback( p_playlist, "playlist-current", ItemChange, p_intf );
PL_UNLOCK;
intf_thread_t *p_intf = ( intf_thread_t* ) p_this;
intf_sys_t *p_sys = p_intf->p_sys;
- p_playlist = pl_Yield( p_intf );
+ p_playlist = pl_Hold( p_intf );
if( p_playlist )
{
PL_LOCK;
p_sys->b_meta_read = false;
p_sys->b_submit = false;
- p_playlist = pl_Yield( p_intf );
+ p_playlist = pl_Hold( p_intf );
PL_LOCK;
p_input = p_playlist->p_input;
intf_sys_t *p_sys = p_this->p_sys;
- p_playlist = pl_Yield( p_this );
+ p_playlist = pl_Hold( p_this );
PL_LOCK;
p_input = p_playlist->p_input;
if( !p_input )