diff --git a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java index 3935e933..eb8542da 100644 --- a/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java +++ b/gsyVideoPlayer-java/src/main/java/com/shuyu/gsyvideoplayer/player/SystemPlayerManager.java @@ -89,9 +89,9 @@ public void showDisplay(Message msg) { if (mediaPlayer != null && holder.isValid() && !release) { mediaPlayer.setSurface(holder); } - if (!isPlaying) { - pause(); - } + } + if (!isPlaying) { + pause(); } }