mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 22:10:56 +00:00
Plumb the ability to disable V-sync through the video renderers
This commit is contained in:
1 parent
6b395c816f
commit
f7d3c10c9d
18 files changed
+90
-49
No files matched your search
@@ -13,7 +13,8 @@ public:
|
||||
int videoFormat,
|
||||
int width,
|
||||
int height,
|
||||
int maxFps) = 0;
|
||||
int maxFps,
|
||||
bool enableVsync) = 0;
|
||||
virtual bool prepareDecoderContext(AVCodecContext* context) = 0;
|
||||
virtual void renderFrameAtVsync(AVFrame* frame) = 0;
|
||||
virtual bool needsTestFrame() = 0;
|
||||
@@ -27,7 +28,8 @@ public:
|
||||
int videoFormat,
|
||||
int width,
|
||||
int height,
|
||||
int maxFps);
|
||||
int maxFps,
|
||||
bool enableVsync);
|
||||
virtual bool prepareDecoderContext(AVCodecContext* context);
|
||||
virtual void renderFrameAtVsync(AVFrame* frame);
|
||||
virtual bool needsTestFrame();
|
||||
|
||||
Reference in new issue
Block a user