Add a default to enable the old QuickTime importer.
This commit is contained in:
1 parent
82dfc1b0f6
commit
e276837efb
1 file changed
+9
-3
@@ -36,7 +36,7 @@ static NSArray<NSString *> *_supportedFileFormats;
|
|||||||
|
|
||||||
+ (void)initialize {
|
+ (void)initialize {
|
||||||
if (self == [MP42FileImporter class]) {
|
if (self == [MP42FileImporter class]) {
|
||||||
_fileImporters = [@[[MP42MkvImporter class],
|
NSMutableArray<Class> * fileImporters = [@[[MP42MkvImporter class],
|
||||||
[MP42Mp4Importer class],
|
[MP42Mp4Importer class],
|
||||||
[MP42SrtImporter class],
|
[MP42SrtImporter class],
|
||||||
[MP42CCImporter class],
|
[MP42CCImporter class],
|
||||||
@@ -44,10 +44,16 @@ static NSArray<NSString *> *_supportedFileFormats;
|
|||||||
[MP42AACImporter class],
|
[MP42AACImporter class],
|
||||||
[MP42H264Importer class],
|
[MP42H264Importer class],
|
||||||
[MP42VobSubImporter class],
|
[MP42VobSubImporter class],
|
||||||
|
[MP42AVFImporter class]] mutableCopy];
|
||||||
|
|
||||||
#if !__LP64__
|
#if !__LP64__
|
||||||
[MP42QTImporter class],
|
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"MP42PreferQuickTime"]) {
|
||||||
|
[fileImporters insertObject:[MP42QTImporter class] atIndex:7];
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
[MP42AVFImporter class]] retain];
|
|
||||||
|
_fileImporters = [fileImporters copy];
|
||||||
|
[fileImporters release];
|
||||||
|
|
||||||
NSMutableArray<NSString *> *formats = [[NSMutableArray alloc] init];
|
NSMutableArray<NSString *> *formats = [[NSMutableArray alloc] init];
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user