mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
minor improvements
This commit is contained in:
parent
f9cdd2da5f
commit
7581985705
@ -604,7 +604,8 @@ class PlayerFragment : BaseFragment() {
|
|||||||
context.getString(R.string.none)
|
context.getString(R.string.none)
|
||||||
}
|
}
|
||||||
// set the playback speed
|
// set the playback speed
|
||||||
currentPlaybackSpeed = "${exoPlayer.playbackParameters.speed}x"
|
currentPlaybackSpeed = "${exoPlayer.playbackParameters.speed.toString()
|
||||||
|
.replace(".0", "")}x"
|
||||||
// set the quality text
|
// set the quality text
|
||||||
val isAdaptive = exoPlayer.videoFormat?.codecs != null
|
val isAdaptive = exoPlayer.videoFormat?.codecs != null
|
||||||
val quality = exoPlayer.videoSize.height
|
val quality = exoPlayer.videoSize.height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user