File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ typedef NS_ENUM(NSInteger, PlayerbackState) {
4747 PlayerbackStateCompleted
4848};
4949
50- @property (strong , nonatomic ) AVPlayerViewController * playerController;
50+ @property (assign , nonatomic ) AVPlayerViewController * playerController;
5151
5252- (void ) setFrame : (int ) left : (int ) top : (int ) width : (int ) height ;
5353- (void ) setURL : (int ) videoSource : (std::string&) videoUrl ;
@@ -87,7 +87,7 @@ @implementation UIVideoViewWrapperIos
8787-(id )init : (void *)videoPlayer
8888{
8989 if (self = [super init ]) {
90- self.playerController = [[ AVPlayerViewController new ] autorelease ];
90+ self.playerController = [AVPlayerViewController new ];
9191
9292 [self setRepeatEnabled: FALSE ];
9393 [self showPlaybackControls: TRUE ];
You can’t perform that action at this time.
0 commit comments