Adopt objc direct attributes where possible.
This commit is contained in:
66 files changed
+223
-131
No files matched your search
@@ -24,6 +24,7 @@
|
||||
#import <VideoToolbox/VideoToolbox.h>
|
||||
#import <MediaToolbox/MediaToolbox.h>
|
||||
|
||||
MP42_OBJC_DIRECT_MEMBERS
|
||||
@interface AVFDemuxHelper : NSObject {
|
||||
@public
|
||||
MP42TrackId sourceID;
|
||||
@@ -42,6 +43,7 @@
|
||||
@implementation AVFDemuxHelper
|
||||
@end
|
||||
|
||||
MP42_OBJC_DIRECT_MEMBERS
|
||||
@implementation MP42AVFImporter {
|
||||
AVAsset *_localAsset;
|
||||
NSMutableArray<AVFDemuxHelper *> *_helpers;
|
||||
@@ -511,8 +513,6 @@
|
||||
MP42MetadataKeyEncodingTool, AVMetadataCommonKeySoftware,
|
||||
nil];
|
||||
|
||||
self.metadata = [[MP42Metadata alloc] init];
|
||||
|
||||
for (NSString *commonKey in commonItemsDict.allKeys) {
|
||||
NSArray<AVMetadataItem *> *items = [AVMetadataItem metadataItemsFromArray:_localAsset.commonMetadata
|
||||
withKey:commonKey
|
||||
|
||||
Reference in new issue
Block a user