[vlc-devel] commit: use playlist_Lock explicitly ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Mar 4 22:42:01 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  4 23:06:27 2009 +0200| [3f107edb355483dd4ff754a97de47a2d1fa8e2bd] | committer: Rémi Denis-Courmont 

use playlist_Lock explicitly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f107edb355483dd4ff754a97de47a2d1fa8e2bd
---

 src/playlist/thread.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/playlist/thread.c b/src/playlist/thread.c
index fc9617a..5ec6ee1 100644
--- a/src/playlist/thread.c
+++ b/src/playlist/thread.c
@@ -584,7 +584,7 @@ static void *Thread ( void *data )
     playlist_t *p_playlist = data;
     playlist_private_t *p_sys = pl_priv(p_playlist);
 
-    vlc_object_lock( p_playlist );
+    playlist_Lock( p_playlist );
     while( vlc_object_alive( p_playlist ) || p_sys->p_input )
     {
         /* FIXME: what's that ! */
@@ -603,7 +603,7 @@ static void *Thread ( void *data )
 
         LoopRequest( p_playlist );
     }
-    vlc_object_unlock( p_playlist );
+    playlist_Unlock( p_playlist );
 
     return NULL;
 }




More information about the vlc-devel mailing list