[vlc-devel] [PATCH] src/playlist/thread.c: Use the macro to lock/unlock the playlist as in the rest of the file
Julien 'Lta' BALLET
elthariel at gmail.com
Wed May 14 18:24:43 CEST 2014
From: Julien 'Lta' BALLET <contact at lta.io>
---
src/playlist/thread.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index ed1b808..81629d6 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -525,7 +525,7 @@ static void *Thread ( void *data )
playlist_t *p_playlist = data;
playlist_private_t *p_sys = pl_priv(p_playlist);
- playlist_Lock( p_playlist );
+ PL_LOCK;
for( ;; )
{
while( p_sys->p_input != NULL )
@@ -550,7 +550,7 @@ static void *Thread ( void *data )
LoopRequest( p_playlist, status );
}
p_sys->status.i_status = PLAYLIST_STOPPED;
- playlist_Unlock( p_playlist );
+ PL_UNLOCK;
input_resource_Terminate( p_sys->p_input_resource );
return NULL;
--
1.9.2
More information about the vlc-devel
mailing list