2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix initial video playback speed.

Regression was introduced in b663edff09.
This commit is contained in:
John Preston
2023-08-10 17:13:16 +03:00
parent 56fa88f47f
commit 21b06f390c

View File

@@ -4051,8 +4051,8 @@ void OverlayWidget::restartAtSeekPosition(crl::time position) {
const auto messageId = _message ? _message->fullId() : FullMsgId();
options.audioId = AudioMsgId(_document, messageId);
options.speed = _stories
? Core::App().settings().videoPlaybackSpeed()
: 1.;
? 1.
: Core::App().settings().videoPlaybackSpeed();
if (_pip) {
_pip = nullptr;
}