Add two methods two return the supported UTIs

This commit is contained in:
Damiano Galassi committed 2026-09-22 18:50:05 +02:00
1 parent 86dce73880
commit 57236970a3
19 files changed
+127 -16

No files matched your search

+6
View File
@@ -1387,6 +1387,12 @@ MP42_OBJC_DIRECT_MEMBERS
return @[@"264", @"h264"];
}
+ (NSArray<UTType *> *)supportedContentTypes
{
return @[[UTType typeWithFilenameExtension:@"264"],
[UTType typeWithFilenameExtension:@"h264"]];
}
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)outError
{
if ((self = [super initWithURL:fileURL])) {