FIND_ANYWHERE );
if( p_input )
{
- p_playlist = pl_Yield( p_input );
+ p_playlist = pl_Hold( p_input );
}
}
/* New input has been registered */
p_input = vlc_object_find( p_intf, VLC_OBJECT_INPUT, FIND_ANYWHERE );
if( p_input )
{
- p_playlist = pl_Yield( p_input );
+ p_playlist = pl_Hold( p_input );
char cmd[6];
switch( p_playlist->status.i_status )
{
vlc_value_t val;
intf_thread_t *p_intf = (intf_thread_t*)p_this;
- playlist_t *p_playlist = pl_Yield( p_this );
+ playlist_t *p_playlist = pl_Hold( p_this );
PL_LOCK;
if( p_playlist->p_input )
VLC_UNUSED(oldval); VLC_UNUSED(newval);
playlist_t *p_playlist;
- p_playlist = pl_Yield( p_this );
+ p_playlist = pl_Hold( p_this );
playlist_Stop( p_playlist );
vlc_object_release( p_playlist );
return VLC_EGENERIC;
}
- p_playlist = pl_Yield( p_this );
+ p_playlist = pl_Hold( p_this );
if( p_playlist->p_input )
{