mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-14 13:32:30 +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 {
|
try {
|
||||||
val d = StateCasting.instance.activeDevice ?: return@subscribe;
|
val d = StateCasting.instance.activeDevice ?: return@subscribe;
|
||||||
if (!_speedHoldWasPlaying) {
|
if (!_speedHoldWasPlaying) {
|
||||||
d.resumePlayback()
|
d.pausePlayback()
|
||||||
}
|
}
|
||||||
d.changeSpeed(_speedHoldPrevRate)
|
d.changeSpeed(_speedHoldPrevRate)
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue