mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
[ASVideoNode] Add missing strong attributes (#2834)
* fix missing strong attribute * change strong to copy
This commit is contained in:
parent
2ea7d4c1c0
commit
0a86a6b980
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user