We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8935d commit 83281c1Copy full SHA for 83281c1
gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/video/base/GSYVideoView.java
@@ -387,7 +387,8 @@ public void run() {
387
if (GSYVideoView.this.mReleaseWhenLossAudio) {
388
GSYVideoView.this.releaseVideos();
389
} else {
390
- getGSYVideoManager().listener().onVideoPause();
+ if(getGSYVideoManager().listener() != null)
391
+ getGSYVideoManager().listener().onVideoPause();
392
}
393
394
0 commit comments