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

kmdewaal noreply at github.com
Fri Apr 22 19:06:15 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 43702fa5aa75acd8d2fbe54c00064bbab1cb3154
      https://github.com/MythTV/mythtv/commit/43702fa5aa75acd8d2fbe54c00064bbab1cb3154
  Author: Klaas de Waal <klaas at kldo.nl>
  Date:   2022-04-22 (Fri, 22 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.




More information about the mythtv-commits mailing list