[mythtv-commits] [MythTV/mythtv] daa4e7: Animation update interval lower bound

kmdewaal noreply at github.com
Sat Apr 23 15:54:50 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: daa4e7e4474c019714d21674ee7e18f3bc89624d
      https://github.com/MythTV/mythtv/commit/daa4e7e4474c019714d21674ee7e18f3bc89624d
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-04-23 (Sat, 23 Apr 2022)

  Changed paths:
    M mythtv/libs/libmythui/mythuianimation.cpp

  Log Message:
  -----------
  Animation update interval lower bound

Add a lower bound of 10ms for the animation update interval.
The animation is used in the MythBuntu theme and there it can cause a stall of
the GUI when the "Manage Recordings" / "Previously Recorded" screen is selected.
This seems to happen only when there is a small number of recordings.
The animation update draw interval was previously fixed at 16 milliseconds
as computed by the function GetDrawInterval.
This function has been removed in commit 34dfa31bc717628bc20a88dd396d54a3ef56b824
and the update interval has since been dynamically computed with an upper
bound of 50ms but without a lower bound.
There is now a lower bound of 10ms added so that the computed interval time
is clamped between 10ms and 50ms.

(cherry picked from commit 43702fa5aa75acd8d2fbe54c00064bbab1cb3154)




More information about the mythtv-commits mailing list