Switch to FourCC instead of NSStrings for media type and formats.
This commit is contained in:
1 parent
71ea7afd67
commit
1c562a65ea
32 files changed
+374
-409
No files matched your search
@@ -17,7 +17,7 @@
|
||||
self = [super initWithSourceURL:URL trackID:trackID fileHandle:fileHandle];
|
||||
|
||||
if (self) {
|
||||
_mediaType = MP42MediaTypeClosedCaption;
|
||||
_mediaType = kMP42MediaType_ClosedCaption;
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -27,8 +27,8 @@
|
||||
{
|
||||
if ((self = [super init])) {
|
||||
_name = [self defaultName];
|
||||
_format = MP42ClosedCaptionFormatCEA608;
|
||||
_mediaType = MP42MediaTypeClosedCaption;
|
||||
_format = kMP42ClosedCaptionCodecType_CEA608;
|
||||
_mediaType = kMP42MediaType_ClosedCaption;
|
||||
}
|
||||
|
||||
return self;
|
||||
@@ -46,7 +46,9 @@
|
||||
}
|
||||
|
||||
- (NSString *)defaultName {
|
||||
return MP42MediaTypeClosedCaption;
|
||||
// TODO
|
||||
return @"Closed Caption";
|
||||
//return kMP42MediaType_ClosedCaption;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
|
||||
Reference in new issue
Block a user