Rename SBSubSerializer to MP42SubSerializer, remove some casts, fix SSA timestamp parsing.
This commit is contained in:
21 files changed
+134
-103
No files matched your search
@@ -19,6 +19,8 @@
|
||||
#import "MP42AVFImporter.h"
|
||||
|
||||
#import "MP42Track.h"
|
||||
#import "MP42VideoTrack.h"
|
||||
#import "MP42AudioTrack.h"
|
||||
#import "MP42Track+Private.h"
|
||||
#import "MP42Track+Muxer.h"
|
||||
|
||||
@@ -143,7 +145,7 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
- (NSSize)sizeForTrack:(MP42Track *)track
|
||||
- (NSSize)sizeForTrack:(MP42VideoTrack *)track
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]
|
||||
@@ -157,7 +159,7 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
userInfo:nil];
|
||||
}
|
||||
|
||||
- (AudioStreamBasicDescription)audioDescriptionForTrack:(MP42Track *)track
|
||||
- (AudioStreamBasicDescription)audioDescriptionForTrack:(MP42AudioTrack *)track
|
||||
{
|
||||
@throw [NSException exceptionWithName:NSInternalInconsistencyException
|
||||
reason:[NSString stringWithFormat:@"You must override %@ in a subclass", NSStringFromSelector(_cmd)]
|
||||
|
||||
Reference in new issue
Block a user