2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Optimized video frame pushing.

This commit is contained in:
John Preston
2019-03-07 17:23:19 +04:00
parent 5c4b459f57
commit a56a12a1ef
9 changed files with 143 additions and 54 deletions

View File

@@ -55,12 +55,9 @@ void ContinuousSlider::setValue(float64 value) {
void ContinuousSlider::setValue(float64 value, float64 receivedTill) {
if (_value != value || _receivedTill != receivedTill) {
LOG(("UPDATED"));
_value = value;
_receivedTill = receivedTill;
update();
} else {
LOG(("SKIPPED"));
}
}