[vlc-devel] commit: Use vlc_object_signal ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Jun 17 20:19:10 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jun 17 21:21:07 2008 +0300| [337933ee7056470f0a253aa582a08807c8c01945]
Use vlc_object_signal
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=337933ee7056470f0a253aa582a08807c8c01945
---
src/interface/interface.c | 2 +-
src/playlist/control.c | 2 +-
src/playlist/item.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/interface/interface.c b/src/interface/interface.c
index b7cb768..84a75d7 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -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 );
}
diff --git a/src/playlist/control.c b/src/playlist/control.c
index f0258e2..41bbf5f 100644
--- a/src/playlist/control.c
+++ b/src/playlist/control.c
@@ -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;
}
diff --git a/src/playlist/item.c b/src/playlist/item.c
index 9c4d0fe..b3c79dd 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -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;
More information about the vlc-devel
mailing list