Another commit by Xcode.

This commit is contained in:
Damiano Galassi authored and Damiano Galassi committed 2015-09-12 19:51:14 +02:00
1 parent 81421f1421
commit e30cabb9ba
2 files changed
+6 -2

No files matched your search

+2
View File
@@ -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;
+4 -2
View File
@@ -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];