[vlc-devel] commit: Lua: don't lock playlist before playlist_Play ( Jean-Philippe André )
git version control
git at videolan.org
Wed Nov 11 22:17:21 CET 2009
vlc | branch: master | Jean-Philippe André <jpeg at endymion.via.ecp.fr> | Wed Nov 11 22:17:48 2009 +0100| [1a881eeb4f5c869d5b894152901c57e867659127] | committer: Jean-Philippe André
Lua: don't lock playlist before playlist_Play
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a881eeb4f5c869d5b894152901c57e867659127
---
modules/misc/lua/libs/playlist.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/misc/lua/libs/playlist.c b/modules/misc/lua/libs/playlist.c
index 9e839a7..1625fc4 100644
--- a/modules/misc/lua/libs/playlist.c
+++ b/modules/misc/lua/libs/playlist.c
@@ -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;
}
More information about the vlc-devel
mailing list