Commit 1a881eeb authored by Jean-Philippe André's avatar Jean-Philippe André

Lua: don't lock playlist before playlist_Play

parent 9c1cb680
...@@ -87,9 +87,7 @@ static int vlclua_playlist_skip( lua_State * L ) ...@@ -87,9 +87,7 @@ static int vlclua_playlist_skip( lua_State * L )
static int vlclua_playlist_play( lua_State * L ) static int vlclua_playlist_play( lua_State * L )
{ {
playlist_t *p_playlist = vlclua_get_playlist_internal( L ); playlist_t *p_playlist = vlclua_get_playlist_internal( L );
PL_LOCK;
playlist_Play( p_playlist ); playlist_Play( p_playlist );
PL_UNLOCK;
vlclua_release_playlist_internal( p_playlist ); vlclua_release_playlist_internal( p_playlist );
return 0; return 0;
} }
......
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