[vlc-devel] commit: macosx: locking fix ( Felix Paul Kühne )
git version control
git at videolan.org
Tue Mar 31 01:12:53 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Mar 31 00:33:23 2009 +0200| [639c76d80837a1c9b73a020d537cfe266530c9ec] | committer: Felix Paul Kühne
macosx: locking fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=639c76d80837a1c9b73a020d537cfe266530c9ec
---
modules/gui/macosx/playlistinfo.m | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m
index bd08a92..5031f92 100644
--- a/modules/gui/macosx/playlistinfo.m
+++ b/modules/gui/macosx/playlistinfo.m
@@ -252,7 +252,9 @@ static VLCInfo *_o_sharedInstance = nil;
if( !input_item_IsPreparsed( p_item ) )
{
playlist_t * p_playlist = pl_Hold( VLCIntf );
+ PL_LOCK;
playlist_PreparseEnqueue( p_playlist, p_item, pl_Locked );
+ PL_UNLOCK;
pl_Release( VLCIntf );
}
More information about the vlc-devel
mailing list