mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 22:40:24 +00:00
Add video stats for performance overlay
This commit is contained in:
1 parent
d89982237d
commit
a0249b4337
6 files changed
+168
-6
No files matched your search
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user