Commit 337933ee authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use vlc_object_signal

parent 7e413aa7
......@@ -173,7 +173,7 @@ void intf_StopThread( intf_thread_t *p_intf )
{
/* Tell the interface to die */
vlc_object_kill( p_intf );
vlc_cond_signal( &p_intf->object_wait );
vlc_object_signal( p_intf );
vlc_thread_join( p_intf );
}
......
......@@ -180,7 +180,7 @@ int playlist_PreparseEnqueue( playlist_t *p_playlist,
p_playlist->p_preparse->i_waiting,
p_playlist->p_preparse->i_waiting,
p_item );
vlc_cond_signal( &p_playlist->p_preparse->object_wait );
vlc_object_signal_unlocked( p_playlist->p_preparse );
vlc_object_unlock( p_playlist->p_preparse );
return VLC_SUCCESS;
}
......
......@@ -596,7 +596,7 @@ playlist_item_t *playlist_ItemToNode( playlist_t *p_playlist,
p_playlist->p_root_onelevel, false );
}
p_playlist->b_reset_currently_playing = true;
vlc_cond_signal( &p_playlist->object_wait );
vlc_object_signal_unlocked( p_playlist );
var_SetInteger( p_playlist, "item-change", p_item_in_category->
p_input->i_id );
if( !b_locked ) PL_UNLOCK;
......
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