From 847733d3e065d1e1e7a2193718e503228c5880c4 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Tue, 24 Nov 2015 15:10:17 +0100 Subject: [PATCH] Add the options to fix the fallbacks to the gui. --- MP42/MP42File.h | 1 - MP42/MP42File.m | 10 +--------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/MP42/MP42File.h b/MP42/MP42File.h index 83eee73..fe620e5 100644 --- a/MP42/MP42File.h +++ b/MP42/MP42File.h @@ -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 diff --git a/MP42/MP42File.m b/MP42/MP42File.m index d985c3a..b7df695 100644 --- a/MP42/MP42File.m +++ b/MP42/MP42File.m @@ -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 _logger = nil; @@ -714,14 +713,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) { } - (BOOL)updateMP4FileWithOptions:(nullable NSDictionary *)options error:(NSError **)outError { - - - // Auto set fallback to - if ([options[MP42AutoFallback] boolValue]) { - [self setAutoFallback]; - } - - + // Organize the alternate groups if ([options[MP42OrganizeAlternateGroups] boolValue]) { [self organizeAlternateGroups];