[vlc-devel] commit: macosx: Add a missing PL_LOCK in the wizard. (Pierre d'Herbemont )
git version control
git at videolan.org
Thu Jul 31 21:03:07 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Jul 31 20:58:54 2008 +0200| [ba8f5af2374314a1aac064c1d12a76779e0de8bc]
macosx: Add a missing PL_LOCK in the wizard.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba8f5af2374314a1aac064c1d12a76779e0de8bc
---
modules/gui/macosx/wizard.m | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/gui/macosx/wizard.m b/modules/gui/macosx/wizard.m
index 2534304..efc3fef 100644
--- a/modules/gui/macosx/wizard.m
+++ b/modules/gui/macosx/wizard.m
@@ -1299,9 +1299,11 @@ static VLCWizard *_o_sharedInstance = nil;
if( x == 0 )
{
/* play the first item and add the others afterwards */
+ PL_LOCK;
playlist_item_t *p_item = playlist_ItemGetByInput( p_playlist, p_input, pl_Locked );
- playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, true, NULL,
+ playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, pl_Locked, NULL,
p_item );
+ PL_UNLOCK;
}
vlc_gc_decref( p_input );
More information about the vlc-devel
mailing list