Sanity pass
All checks were successful
CI / React UI Build (push) Successful in 10s
CI / Native Windows Build And Tests (push) Successful in 2m42s
CI / Windows Release Package (push) Successful in 2m45s

This commit is contained in:
Aiden
2026-05-11 18:31:36 +10:00
parent bfc32c4a1e
commit f141d20026
2 changed files with 3 additions and 10 deletions

View File

@@ -297,7 +297,7 @@ void RenderEngine::ProcessRenderResetCommandsOnRenderThread()
void RenderEngine::EnqueuePreviewPresentWake()
{
if (!mRenderThreadRunning || GetCurrentThreadId() == mRenderThreadId)
if (!mRenderThreadRunning)
return;
bool shouldNotify = false;
@@ -461,10 +461,7 @@ bool RenderEngine::TryPresentPreview(bool force, unsigned previewFps, unsigned o
if (mRenderThreadRunning)
{
mRenderCommandQueue.RequestPreviewPresent({ outputFrameWidth, outputFrameHeight });
if (GetCurrentThreadId() == mRenderThreadId)
ProcessPreviewPresentCommandsOnRenderThread();
else
EnqueuePreviewPresentWake();
EnqueuePreviewPresentWake();
return true;
}

View File

@@ -81,14 +81,10 @@ HRESULT PlayoutDelegate::ScheduledFrameCompleted(IDeckLinkVideoFrame* completedF
switch (result)
{
case bmdOutputFrameDisplayedLate:
OutputDebugStringA("ScheduledFrameCompleted() frame did not complete: Frame Displayed Late\n");
break;
case bmdOutputFrameDropped:
OutputDebugStringA("ScheduledFrameCompleted() frame did not complete: Frame Dropped\n");
break;
case bmdOutputFrameCompleted:
case bmdOutputFrameFlushed:
// Don't log bmdOutputFrameFlushed result since it is expected when Stop() is called
// Late/drop counts are recorded by VideoBackend; keep this callback lean.
break;
default:
OutputDebugStringA("ScheduledFrameCompleted() frame did not complete: Unknown error\n");