[vlc-devel] commit: Lua: don't lock playlist before playlist_Play ( Jean-Philippe André )

git version control git at videolan.org
Sun Nov 15 19:25:17 CET 2009


vlc | branch: 1.0-bugfix | Jean-Philippe André <jpeg at endymion.via.ecp.fr> | Wed Nov 11 22:17:48 2009 +0100| [8de1e234b29f3ea781ac241cf3a22dcf976ae9b0] | committer: Rémi Duraffort 

Lua: don't lock playlist before playlist_Play
(cherry picked from commit 1a881eeb4f5c869d5b894152901c57e867659127)

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 58ce8c0..f442fe2 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