Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 c032b28)
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters