From 6b166aa939f6b047948a7c151614be2010baeec1 Mon Sep 17 00:00:00 2001 From: songtangjietinklabs Date: Fri, 25 Jan 2019 11:03:26 +0800 Subject: [PATCH] IJKSDLGLView running warning --- .../IJKMediaPlayer/ijkmedia/ijksdl/ios/IJKSDLGLView.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/IJKMediaPlayer/IJKMediaPlayer/ijkmedia/ijksdl/ios/IJKSDLGLView.m b/ios/IJKMediaPlayer/IJKMediaPlayer/ijkmedia/ijksdl/ios/IJKSDLGLView.m index c3162776e0..956cb872f6 100644 --- a/ios/IJKMediaPlayer/IJKMediaPlayer/ijkmedia/ijksdl/ios/IJKSDLGLView.m +++ b/ios/IJKMediaPlayer/IJKMediaPlayer/ijkmedia/ijksdl/ios/IJKSDLGLView.m @@ -80,6 +80,7 @@ - (id) initWithFrame:(CGRect)frame if (self) { _tryLockErrorCount = 0; _shouldLockWhileBeingMovedToWindow = YES; + _applicationState = IJKSDLGLViewApplicationForegroundState; self.glActiveLock = [[NSRecursiveLock alloc] init]; _registeredNotifications = [[NSMutableArray alloc] init]; [self registerApplicationObservers];