[vlc-commits] macosx: don't update the sidebar too often

Felix Paul Kühne git at videolan.org
Mon Aug 22 16:57:32 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Aug 22 16:29:33 2011 +0200| [a3be47c3a066d721b2dd5192b1894dc31efc2834] | committer: Felix Paul Kühne

macosx: don't update the sidebar too often

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

 modules/gui/macosx/MainWindow.m |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 0ddd492..0b8d3a2 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -741,6 +741,9 @@ static VLCMainWindow *_o_sharedInstance = nil;
         [self setTitle: _NS("VLC media player")];
         [self setRepresentedURL: nil];
     }
+
+    [o_sidebar_view reloadData];
+
     [o_pool release];
 }
 
@@ -758,8 +761,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
     b_plmul = playlist_CurrentSize( p_playlist ) > 1;
     PL_UNLOCK;
 
-    [o_sidebar_view reloadData];
-
     input_thread_t * p_input = playlist_CurrentInput( p_playlist );
 
     bool b_buffering = NO;



More information about the vlc-commits mailing list