Reworked the logger a bit.
This commit is contained in:
1 parent
38ffcce146
commit
224958455a
6 files changed
+37
-10
No files matched your search
+3
-1
@@ -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];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user