Reworked the logger a bit.

This commit is contained in:
Damiano Galassi committed 2014-10-26 14:56:42 +01:00
1 parent 38ffcce146
commit 224958455a
6 files changed
+37 -10

No files matched your search

+3 -1
View File
@@ -27,11 +27,12 @@
return self;
}
- (instancetype)initWithDelegate:(id <MP42FileDelegate>)del
- (instancetype)initWithDelegate:(id <MP42MuxerDelegate>)del andLogger:(id <MP42Logging>)logger
{
if ((self = [super init])) {
_workingTracks = [[NSMutableArray alloc] init];
_delegate = del;
_logger = [logger retain];
}
return self;
@@ -448,6 +449,7 @@
- (void)dealloc
{
[_logger release];
[_workingTracks release];
[super dealloc];
}