Commit d723b2ef 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 005f844f
...@@ -313,7 +313,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -313,7 +313,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