Skip to content

Commit

Permalink
update exoplayer 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Sep 3, 2024
1 parent 5cdea07 commit 78e21ee
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
20 changes: 20 additions & 0 deletions gsyVideoPlayer-exo_player2/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<lint>
<issue id="UnsafeOptInUsageError">
<option name="opt-in" value="androidx.media3.common.util.UnstableApi" />
</issue>
</lint>
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 78e21ee

Please sign in to comment.