Skip to content

Commit

Permalink
fix. oom. video player release = true
Browse files Browse the repository at this point in the history
  • Loading branch information
iielse committed Sep 29, 2022
1 parent 9dcc5bc commit d6ae9b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ ext {
buildToolsVersion= "30.0.3"
minSdkVersion = 21
targetSdkVersion = 30
versionCode = 225
versionName = "2.1.19"
versionCode = 226
versionName = "2.1.20"
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ open class ExoVideoView @JvmOverloads constructor(
protected var prepared = false
private var st = Config.VIDEO_SCALE_TYPE
val scaleType get() = st
private var ar = false
private var ar = true
val autoRelease get() = ar

fun prepare(url: String) {
Expand Down

0 comments on commit d6ae9b9

Please sign in to comment.