Almost working edit lists implementation in the AVFoundation importer. yay!

This commit is contained in:
Damiano Galassi committed 2014-03-26 19:35:55 +01:00
1 parent 1035b321c6
commit b7668b0fc8
3 files changed
+88 -142

No files matched your search

+2 -1
View File
@@ -66,7 +66,8 @@
// If we are on 10.7 or later, use the AVFoundation path
else if (NSClassFromString(@"AVAsset")) {
if ([[fileURL pathExtension] caseInsensitiveCompare: @"m2ts"] == NSOrderedSame ||
[[fileURL pathExtension] caseInsensitiveCompare: @"mts"] == NSOrderedSame ) {
[[fileURL pathExtension] caseInsensitiveCompare: @"mts"] == NSOrderedSame ||
[[fileURL pathExtension] caseInsensitiveCompare: @"mov"] == NSOrderedSame) {
self = [MP42AVFImporter alloc];
}
}