mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Add new playback speed option of 2.5
This commit is contained in:
parent
751175b3f9
commit
e754ff3f34
1 changed files with 4 additions and 3 deletions
|
@ -434,10 +434,11 @@ open class FullScreenPlayer : AbstractPlayerFragment() {
|
||||||
"1.4x",
|
"1.4x",
|
||||||
"1.5x",
|
"1.5x",
|
||||||
"1.75x",
|
"1.75x",
|
||||||
"2x"
|
"2x",
|
||||||
|
"2.5x"
|
||||||
)
|
)
|
||||||
val speedsNumbers =
|
val speedsNumbers =
|
||||||
listOf(0.5f, 0.75f, 0.85f, 1f, 1.15f, 1.25f, 1.4f, 1.5f, 1.75f, 2f)
|
listOf(0.5f, 0.75f, 0.85f, 1f, 1.15f, 1.25f, 1.4f, 1.5f, 1.75f, 2f, 2.5f)
|
||||||
val speedIndex = speedsNumbers.indexOf(player.getPlaybackSpeed())
|
val speedIndex = speedsNumbers.indexOf(player.getPlaybackSpeed())
|
||||||
|
|
||||||
activity?.let { act ->
|
activity?.let { act ->
|
||||||
|
@ -1363,4 +1364,4 @@ open class FullScreenPlayer : AbstractPlayerFragment() {
|
||||||
logError(e)
|
logError(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue