Commit 5bce8e07 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

De-inline playlist_Signal

parent 9cb82b16
...@@ -390,7 +390,7 @@ static inline input_thread_t * __pl_CurrentInput( vlc_object_t * p_this ) ...@@ -390,7 +390,7 @@ static inline input_thread_t * __pl_CurrentInput( vlc_object_t * p_this )
#define playlist_CurrentSize( pl ) pl->current.i_size #define playlist_CurrentSize( pl ) pl->current.i_size
/** Ask the playlist to do some work */ /** Ask the playlist to do some work */
#define playlist_Signal( p_playlist ) vlc_object_signal( p_playlist ) VLC_EXPORT( void, playlist_Signal, ( playlist_t * ) );
/** @} */ /** @} */
# ifdef __cplusplus # ifdef __cplusplus
......
...@@ -308,6 +308,7 @@ playlist_PreparseEnqueueItem ...@@ -308,6 +308,7 @@ playlist_PreparseEnqueueItem
playlist_RecursiveNodeSort playlist_RecursiveNodeSort
playlist_ServicesDiscoveryAdd playlist_ServicesDiscoveryAdd
playlist_ServicesDiscoveryRemove playlist_ServicesDiscoveryRemove
playlist_Signal
playlist_Status playlist_Status
playlist_TreeMove playlist_TreeMove
__pl_Hold __pl_Hold
......
...@@ -67,6 +67,12 @@ void __pl_Release( vlc_object_t *p_this ) ...@@ -67,6 +67,12 @@ void __pl_Release( vlc_object_t *p_this )
vlc_object_release( pl ); vlc_object_release( pl );
} }
void playlist_Signal( playlist_t *p_playlist )
{
/* TODO: assert playlist lock? */
vlc_object_signal( p_playlist );
}
int playlist_Control( playlist_t * p_playlist, int i_query, int playlist_Control( playlist_t * p_playlist, int i_query,
bool b_locked, ... ) bool b_locked, ... )
{ {
......
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