[vlc-devel] commit: macosx: let's have a large messages cache. It' s not like we are in the 90s ( Felix Paul Kühne )

git version control git at videolan.org
Fri Jul 17 17:32:45 CEST 2009


vlc | branch: 1.0-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jul 17 17:24:49 2009 +0200| [d723b2ef00fef294a3874b525f3f6269a74b38f4] | committer: Felix Paul Kühne 

macosx: let's have a large messages cache. It's not like we are in the 90s

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 4c3ed27..8c82b9e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -313,7 +313,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];
     




More information about the vlc-devel mailing list