Skip to content

plugins/screencast: Make frame throttling less strict

Vlad Zahorodnii requested to merge work/cherry-pick-5ff705a1 into Plasma/6.0

If the max framerate is 60Hz, currently, the frameInterval is going to be 16.6ms. On the other hand, lastSentAgo is likely to be just 16ms. So the frame throttling timer will be started just to wait less than a millisecond.

(cherry picked from commit 5ff705a1)

Merge request reports

Loading