]> git.sesse.net Git - vlc/commitdiff
Lua: don't lock playlist before playlist_Play
authorJean-Philippe André <jpeg@endymion.via.ecp.fr>
Wed, 11 Nov 2009 21:17:48 +0000 (22:17 +0100)
committerJean-Philippe André <jpeg@endymion.via.ecp.fr>
Wed, 11 Nov 2009 21:17:48 +0000 (22:17 +0100)
modules/misc/lua/libs/playlist.c

index 9e839a7947cc3d7476af849ccd984fcbfcec91ec..1625fc43123ff46e1d93fd56844e6e8dc09ba10b 100644 (file)
@@ -87,9 +87,7 @@ static int vlclua_playlist_skip( lua_State * L )
 static int vlclua_playlist_play( lua_State * L )
 {
     playlist_t *p_playlist = vlclua_get_playlist_internal( L );
-    PL_LOCK;
     playlist_Play( p_playlist );
-    PL_UNLOCK;
     vlclua_release_playlist_internal( p_playlist );
     return 0;
 }