diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 2765d35c..a5fcdcce 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -255,7 +255,7 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame) if (status == DXGI_ERROR_WAIT_TIMEOUT) { if (!m_surfaceMapped) - break; + continue; // send the last frame again if we timeout to prevent the client stalling on restart frame.width = m_desc.Width;