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

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


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: c032b280a758ca51cca86887e294439d4853800e
      https://github.com/MythTV/mythtv/commit/c032b280a758ca51cca86887e294439d4853800e
  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.




More information about the mythtv-commits mailing list