Commit 7d302c6b authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

parent 97c42d97
...@@ -314,7 +314,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -314,7 +314,7 @@ static VLCMain *_o_sharedMainInstance = nil;
p_intf = NULL; p_intf = NULL;
o_msg_lock = [[NSLock alloc] init]; 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) */ /* subscribe to LibVLC's debug messages as early as possible (for us) */
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(libvlcMessageReceived:) name: @"VLCCoreMessageReceived" object: nil]; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(libvlcMessageReceived:) name: @"VLCCoreMessageReceived" object: nil];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment