mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +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
@@ -630,14 +630,8 @@ int FFmpegVideoDecoder::submitDecodeUnit(PDECODE_UNIT du)
|
||||
return DR_OK;
|
||||
}
|
||||
|
||||
// Called on main thread
|
||||
void FFmpegVideoDecoder::renderFrame(SDL_UserEvent*)
|
||||
void FFmpegVideoDecoder::renderFrameOnMainThread()
|
||||
{
|
||||
SDL_assert(false);
|
||||
m_Pacer->renderOnMainThread();
|
||||
}
|
||||
|
||||
// Called on main thread
|
||||
void FFmpegVideoDecoder::dropFrame(SDL_UserEvent*)
|
||||
{
|
||||
SDL_assert(false);
|
||||
}
|
||||
Reference in new issue
Block a user