diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index 1a2479913..0a83fefb5 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -2,7 +2,7 @@ ext { gsyVideoVersion = "v9.0.0-release-jitpack" danmakuFlameMasterSoVersion = "0.9.25" glideVersion = "4.12.0" - mediaVersion = "1.4.0" + mediaVersion = "1.4.1" permissionsDispatcherVersion = "4.9.1" androidDependencies = [ diff --git a/gsyVideoPlayer-exo_player2/lint.xml b/gsyVideoPlayer-exo_player2/lint.xml new file mode 100644 index 000000000..29fe194f4 --- /dev/null +++ b/gsyVideoPlayer-exo_player2/lint.xml @@ -0,0 +1,20 @@ + + + + + + diff --git a/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java b/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java index cd0abce62..f9167adf6 100644 --- a/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java +++ b/gsyVideoPlayer-exo_player2/src/main/java/tv/danmaku/ijk/media/exo2/IjkExo2MediaPlayer.java @@ -404,7 +404,7 @@ public void run() { mInternalPlayer.setPlaybackParameters(mSpeedPlaybackParameters); } if (isLooping) { - mInternalPlayer.setRepeatMode(REPEAT_MODE_ALL); + mInternalPlayer.setRepeatMode(Player.REPEAT_MODE_ALL); } if (mSurface != null) mInternalPlayer.setVideoSurface(mSurface);