Another commit by Xcode.
This commit is contained in:
1 parent
81421f1421
commit
e30cabb9ba
2 files changed
+6
-2
No files matched your search
@@ -56,6 +56,7 @@ extern NSString *const MP42AudioFormatVorbis;
|
||||
extern NSString *const MP42AudioFormatFLAC;
|
||||
extern NSString *const MP42AudioFormatALAC;
|
||||
extern NSString *const MP42AudioFormatAC3;
|
||||
extern NSString *const MP42AudioFormatEAC3;
|
||||
extern NSString *const MP42AudioFormatDTS;
|
||||
extern NSString *const MP42AudioFormatTrueHD;
|
||||
extern NSString *const MP42AudioFormatAMR;
|
||||
@@ -64,6 +65,7 @@ extern NSString *const MP42AudioFormatFairPlay;
|
||||
|
||||
|
||||
// Subtitle Format
|
||||
extern NSString *const MP42SubtitleFormatWebVTT;
|
||||
extern NSString *const MP42SubtitleFormatTx3g;
|
||||
extern NSString *const MP42SubtitleFormatText;
|
||||
extern NSString *const MP42SubtitleFormatVobSub;
|
||||
|
||||
@@ -220,11 +220,13 @@
|
||||
}
|
||||
|
||||
// Closed Caption
|
||||
else if([mediaType isEqualToString:@"clcp"])
|
||||
else if ([mediaType isEqualToString:@"clcp"]) {
|
||||
newTrack = [[MP42ClosedCaptionTrack alloc] init];
|
||||
}
|
||||
|
||||
else
|
||||
else {
|
||||
newTrack = [[MP42Track alloc] init];
|
||||
}
|
||||
|
||||
if (newTrack) {
|
||||
newTrack.format = [self formatForTrack:track];
|
||||
|
||||
Reference in new issue
Block a user