[ASVideoNode] Add missing strong attributes (#2834)

* fix missing strong attribute

* change strong to copy
This commit is contained in:
Hannah Troisi 2016-12-24 23:35:27 -08:00 committed by GitHub
parent 2ea7d4c1c0
commit 0a86a6b980
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, assign) int32_t periodicTimeObserverTimescale;
//! Defaults to AVLayerVideoGravityResizeAspect
@property (nonatomic) NSString *gravity;
@property (nonatomic, copy) NSString *gravity;
@property (nullable, nonatomic, weak, readwrite) id<ASVideoNodeDelegate, ASNetworkImageNodeDelegate> delegate;

View File

@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN
//! Defaults to 100
@property (nonatomic, assign) int32_t periodicTimeObserverTimescale;
//! Defaults to AVLayerVideoGravityResizeAspect
@property (nonatomic) NSString *gravity;
@property (nonatomic, copy) NSString *gravity;
- (instancetype)initWithUrl:(NSURL*)url;
- (instancetype)initWithAsset:(AVAsset*)asset;