mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-27 01:34:45 +00:00
Beta version 1.5.16: Fix audio stucking.
This commit is contained in:
parent
5efe47cfb6
commit
e79ddf2459
@ -537,7 +537,7 @@ void Player::start() {
|
||||
_audio ? _audio->waitingForData() : rpl::never(),
|
||||
_video ? _video->waitingForData() : rpl::never()
|
||||
) | rpl::filter([=] {
|
||||
return !receivedTillEnd();
|
||||
return !bothReceivedEnough(kBufferFor);
|
||||
}) | rpl::start_with_next([=] {
|
||||
_pausedByWaitingForData = true;
|
||||
updatePausedState();
|
||||
|
Loading…
Reference in New Issue
Block a user