]> git.sesse.net Git - vlc/commitdiff
macosx: let's have a large messages cache. It's not like we are in the 90s
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Jul 2009 15:24:49 +0000 (17:24 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Jul 2009 15:35:04 +0000 (17:35 +0200)
modules/gui/macosx/intf.m

index 25494bd01dc6de85faceaeecb61a7b35161ba177..534965b22ef4e1849cecf0c7e4beafd0fe130360 100644 (file)
@@ -314,7 +314,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     p_intf = NULL;
 
     o_msg_lock = [[NSLock alloc] init];
-    o_msg_arr = [[NSMutableArray arrayWithCapacity: 200] retain];
+    o_msg_arr = [[NSMutableArray arrayWithCapacity: 600] retain];
     /* subscribe to LibVLC's debug messages as early as possible (for us) */
     [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(libvlcMessageReceived:) name: @"VLCCoreMessageReceived" object: nil];