Made Subler compile using MP42Foundation.framework.
This commit is contained in:
1 parent
30564b6469
commit
a642ca10f0
3 files changed
+19
-17
No files matched your search
+17
-1
@@ -30,7 +30,23 @@ extern NSString * const MP42OrganizeAlternateGroups;
|
||||
- (void)endSave:(id)sender;
|
||||
@end
|
||||
|
||||
@interface MP42File : NSObject <NSCoding>
|
||||
@class MP42Muxer;
|
||||
|
||||
@interface MP42File : NSObject <NSCoding> {
|
||||
MP42FileHandle _fileHandle;
|
||||
NSURL *_fileURL;
|
||||
id _delegate;
|
||||
|
||||
NSMutableArray *_tracksToBeDeleted;
|
||||
NSMutableDictionary *_importers;
|
||||
|
||||
BOOL _hasFileRepresentation;
|
||||
BOOL _cancelled;
|
||||
|
||||
NSMutableArray *_tracks;
|
||||
MP42Metadata *_metadata;
|
||||
MP42Muxer *_muxer;
|
||||
}
|
||||
|
||||
@property(readwrite, assign) id <MP42FileDelegate> delegate;
|
||||
|
||||
|
||||
+2
-16
@@ -68,21 +68,7 @@ static void logCallback(MP4LogLevel loglevel, const char* fmt, va_list ap)
|
||||
}
|
||||
}
|
||||
|
||||
@interface MP42File () <MP42MuxerDelegate> {
|
||||
MP4FileHandle _fileHandle;
|
||||
NSURL *_fileURL;
|
||||
id _delegate;
|
||||
|
||||
NSMutableArray *_tracksToBeDeleted;
|
||||
NSMutableDictionary *_importers;
|
||||
|
||||
BOOL _hasFileRepresentation;
|
||||
BOOL _cancelled;
|
||||
|
||||
NSMutableArray *_tracks;
|
||||
MP42Metadata *_metadata;
|
||||
MP42Muxer *_muxer;
|
||||
}
|
||||
@interface MP42File (MP42FilePrivate)
|
||||
|
||||
- (void)reconnectReferences;
|
||||
- (void)removeMuxedTrack:(MP42Track *)track;
|
||||
@@ -546,7 +532,7 @@ static void logCallback(MP4LogLevel loglevel, const char* fmt, va_list ap)
|
||||
[self removeMuxedTrack:track];
|
||||
|
||||
// Init the muxer and prepare the work
|
||||
_muxer = [[MP42Muxer alloc] initWithDelegate:self];
|
||||
_muxer = [[MP42Muxer alloc] initWithDelegate:(id <MP42MuxerDelegate>)self];
|
||||
|
||||
for (MP42Track *track in _tracks) {
|
||||
if (!track.muxed) {
|
||||
|
||||
BIN
Binary file not shown.
Reference in new issue
Block a user