mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Use a separate callback to indicate EOS instead of renderFrame()
This commit is contained in:
1 parent
5de0dc2713
commit
474591c6a5
12 files changed
+18
-50
No files matched your search
@@ -584,11 +584,6 @@ void D3D11VARenderer::setHdrMode(bool enabled)
|
||||
|
||||
void D3D11VARenderer::renderFrame(AVFrame* frame)
|
||||
{
|
||||
if (frame == nullptr) {
|
||||
// End of stream - nothing to do for us
|
||||
return;
|
||||
}
|
||||
|
||||
// Acquire the context lock for rendering to prevent concurrent
|
||||
// access from inside FFmpeg's decoding code
|
||||
lockContext(this);
|
||||
|
||||
Reference in new issue
Block a user