[mythtv-commits] [MythTV/mythtv] d1efdd: Fix the counting of frames played.

David Engel noreply at github.com
Tue Feb 22 21:28:57 UTC 2022


  Branch: refs/heads/fixes/32
  Home:   https://github.com/MythTV/mythtv
  Commit: d1efdd44191d980df8481d258681900d7ad60691
      https://github.com/MythTV/mythtv/commit/d1efdd44191d980df8481d258681900d7ad60691
  Author: David Engel <dengel at mythtv.org>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M mythtv/libs/libmythtv/mythplayerui.cpp
    M mythtv/libs/libmythtv/mythplayerui.h

  Log Message:
  -----------
  Fix the counting of frames played.

DisplayNormalFrame() doesn't always process a frame but VideoLoop()
unconditionally increments the frames played counter every time.  This
leads to inflated counts.  Fix the problem by returning an indication
that a frame was processed and only increment the count when it is
set.

(cherry picked from commit c032b280a758ca51cca86887e294439d4853800e)




More information about the mythtv-commits mailing list