[vlc-devel] commit: macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqueue with pl_Locked. (Jean-Paul Saman )
git version control
git at videolan.org
Mon Mar 16 12:06:48 CET 2009
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Mar 16 11:06:57 2009 +0100| [7d9b21b0d840e7c82e8a0db0de1a276b9317d816] | committer: Jean-Paul Saman
macosx: playlistlock is held when playlistinfo panel is updated, so call PreparseEnqueue with pl_Locked.
updatePanelWithItem is called from modules/gui/macosx/intf.m line 1565 with playlist lock held.
If this solution is wrong then revert and fix properly.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d9b21b0d840e7c82e8a0db0de1a276b9317d816
---
modules/gui/macosx/playlistinfo.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m
index b5615e0..bd08a92 100644
--- a/modules/gui/macosx/playlistinfo.m
+++ b/modules/gui/macosx/playlistinfo.m
@@ -252,7 +252,7 @@ static VLCInfo *_o_sharedInstance = nil;
if( !input_item_IsPreparsed( p_item ) )
{
playlist_t * p_playlist = pl_Hold( VLCIntf );
- playlist_PreparseEnqueue( p_playlist, p_item, pl_Unlocked );
+ playlist_PreparseEnqueue( p_playlist, p_item, pl_Locked );
pl_Release( VLCIntf );
}
More information about the vlc-devel
mailing list