mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix initial video playback speed.
Regression was introduced in b663edff09
.
This commit is contained in:
parent
56fa88f47f
commit
21b06f390c
1 changed files with 2 additions and 2 deletions
|
@ -4051,8 +4051,8 @@ void OverlayWidget::restartAtSeekPosition(crl::time position) {
|
||||||
const auto messageId = _message ? _message->fullId() : FullMsgId();
|
const auto messageId = _message ? _message->fullId() : FullMsgId();
|
||||||
options.audioId = AudioMsgId(_document, messageId);
|
options.audioId = AudioMsgId(_document, messageId);
|
||||||
options.speed = _stories
|
options.speed = _stories
|
||||||
? Core::App().settings().videoPlaybackSpeed()
|
? 1.
|
||||||
: 1.;
|
: Core::App().settings().videoPlaybackSpeed();
|
||||||
if (_pip) {
|
if (_pip) {
|
||||||
_pip = nullptr;
|
_pip = nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue