Fix a NSTableView issue on Yosemite.

This commit is contained in:
Damiano Galassi committed 2014-11-03 19:16:04 +01:00
1 parent ea68240920
commit e634d55575
1 file changed
+1
+1
View File
@@ -66,6 +66,7 @@
// 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: @"ts"] == NSOrderedSame ||
[[fileURL pathExtension] caseInsensitiveCompare: @"mts"] == NSOrderedSame ||
[[fileURL pathExtension] caseInsensitiveCompare: @"mov"] == NSOrderedSame) {
self = [MP42AVFImporter alloc];