mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Beta version 1.5.16: Fix audio stucking.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user