Add the options to fix the fallbacks to the gui.

This commit is contained in:
Damiano Galassi committed 2015-11-24 15:10:17 +01:00
1 parent a200bc4ee1
commit 847733d3e0
2 files changed
+1 -10

No files matched your search

-1
View File
@@ -26,7 +26,6 @@ extern NSString * const MP4264BitTime;
extern NSString * const MP42GenerateChaptersPreviewTrack;
extern NSString * const MP42CustomChaptersPreviewTrack;
extern NSString * const MP42OrganizeAlternateGroups;
extern NSString * const MP42AutoFallback;
/**
* MP42Status
+1 -9
View File
@@ -24,7 +24,6 @@ NSString * const MP4264BitTime = @"MP4264BitTime";
NSString * const MP42GenerateChaptersPreviewTrack = @"MP42ChaptersPreview";
NSString * const MP42CustomChaptersPreviewTrack = @"MP42CustomChaptersPreview";
NSString * const MP42OrganizeAlternateGroups = @"MP42AlternateGroups";
NSString * const MP42AutoFallback = @"MP42AutoFallback";
static id <MP42Logging> _logger = nil;
@@ -714,14 +713,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
}
- (BOOL)updateMP4FileWithOptions:(nullable NSDictionary<NSString *, id> *)options error:(NSError **)outError {
// Auto set fallback to
if ([options[MP42AutoFallback] boolValue]) {
[self setAutoFallback];
}
// Organize the alternate groups
if ([options[MP42OrganizeAlternateGroups] boolValue]) {
[self organizeAlternateGroups];