未验证 提交 96cb7004 编写于 作者: J Jim 提交者: GitHub

Merge pull request #3431 from cg2121/media-dup-code

UI: Remove duplicate media timer code
......@@ -120,7 +120,7 @@ void MediaControls::MediaSliderClicked()
} else if (state == OBS_MEDIA_STATE_PLAYING) {
prevPaused = false;
PauseMedia();
mediaTimer.stop();
StopMediaTimer();
}
seek = ui->slider->value();
......@@ -145,7 +145,7 @@ void MediaControls::MediaSliderReleased()
if (!prevPaused) {
PlayMedia();
mediaTimer.start(1000);
StartMediaTimer();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册