[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:35:17 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Jul 17 17:24:49 2009 +0200| [7d302c6b47a6d40feef849d1e2da1efde07b8470] | 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=7d302c6b47a6d40feef849d1e2da1efde07b8470
---

 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 25494bd..534965b 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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];
     




More information about the vlc-devel mailing list