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:
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user