Commit 3f107edb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

use playlist_Lock explicitly

parent e75b95ed
...@@ -584,7 +584,7 @@ static void *Thread ( void *data ) ...@@ -584,7 +584,7 @@ static void *Thread ( void *data )
playlist_t *p_playlist = data; playlist_t *p_playlist = data;
playlist_private_t *p_sys = pl_priv(p_playlist); 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 ) while( vlc_object_alive( p_playlist ) || p_sys->p_input )
{ {
/* FIXME: what's that ! */ /* FIXME: what's that ! */
...@@ -603,7 +603,7 @@ static void *Thread ( void *data ) ...@@ -603,7 +603,7 @@ static void *Thread ( void *data )
LoopRequest( p_playlist ); LoopRequest( p_playlist );
} }
vlc_object_unlock( p_playlist ); playlist_Unlock( p_playlist );
return NULL; return NULL;
} }
......
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