* ./extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 23 Jan 2003 22:57:28 +0000 (22:57 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 23 Jan 2003 22:57:28 +0000 (22:57 +0000)
  - oops, i enlarged the timeslider by accident. fixed
* ./modules/gui/macosx/controls.m
  - fixed a mutex_lock issue

extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
modules/gui/macosx/controls.m

index bc5a543..51c11a0 100644 (file)
Binary files a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib and b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib differ
index ebce2af..7f3c456 100644 (file)
@@ -2,7 +2,7 @@
  * controls.m: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: controls.m,v 1.11 2003/01/23 22:25:32 hartman Exp $
+ * $Id: controls.m,v 1.12 2003/01/23 22:57:28 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Christophe Massiot <massiot@via.ecp.fr>
 
         case NSLeftMouseUp:
             i_ff = 0;
+            
             vlc_mutex_lock( &p_playlist->object_lock );
-            if( p_playlist->i_size )
+            int i_playlist_size =  p_playlist->i_size ;
+            vlc_mutex_unlock( &p_playlist->object_lock );
+            if( i_playlist_size )
             {
                 playlist_Play( p_playlist );
             }
-            vlc_mutex_unlock( &p_playlist->object_lock );
             break;
 
         default: