Update Video Speed

Add additional Options (2.5x and 3x)
This commit is contained in:
homealone944 2024-05-14 16:46:57 -04:00 committed by GitHub
parent ee4d1dedc5
commit 9203eb6ed2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -516,10 +516,12 @@ open class FullScreenPlayer : AbstractPlayerFragment() {
"1.4x", "1.4x",
"1.5x", "1.5x",
"1.75x", "1.75x",
"2x" "2x",
"2.5x",
"3x"
) )
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, 3f)
val speedIndex = speedsNumbers.indexOf(player.getPlaybackSpeed()) val speedIndex = speedsNumbers.indexOf(player.getPlaybackSpeed())
activity?.let { act -> activity?.let { act ->