mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Allow a renderer to opt-out of the render thread and use that for SDL on OGL
This commit is contained in:
1 parent
6783cf57da
commit
859a5a5e0c
17 files changed
+134
-79
No files matched your search
@@ -182,6 +182,12 @@ IFFmpegRenderer::FramePacingConstraint VAAPIRenderer::getFramePacingConstraint()
|
||||
return PACING_ANY;
|
||||
}
|
||||
|
||||
bool VAAPIRenderer::isRenderThreadSupported()
|
||||
{
|
||||
// renderFrame() may be called outside of the main thread
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
VAAPIRenderer::renderFrame(AVFrame* frame)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user