mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-11 12:06:14 +00:00
casting: pause playback if speed hold was paused when started
This commit is contained in:
parent
a763a128f8
commit
ab4924408b
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class CastView : ConstraintLayout {
|
|||
try {
|
||||
val d = StateCasting.instance.activeDevice ?: return@subscribe;
|
||||
if (!_speedHoldWasPlaying) {
|
||||
d.resumePlayback()
|
||||
d.pausePlayback()
|
||||
}
|
||||
d.changeSpeed(_speedHoldPrevRate)
|
||||
} catch (e: Throwable) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue