Add video stats for performance overlay

This commit is contained in:
Cameron Gutman 2018-09-25 00:47:59 -07:00
commit a0249b4337
6 changed files with 168 additions and 6 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include "../../decoder.h"
#include "../renderer.h"
#include <QQueue>
@ -13,7 +14,7 @@ public:
class Pacer
{
public:
Pacer(IFFmpegRenderer* renderer);
Pacer(IFFmpegRenderer* renderer, PVIDEO_STATS videoStats);
~Pacer();
@ -35,4 +36,5 @@ private:
int m_MaxVideoFps;
int m_DisplayFps;
bool m_EnableVsync;
PVIDEO_STATS m_VideoStats;
};