From 2fe800f5027c0edeea9cce9ff272c3e1767b8886 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 20 Dec 2017 04:35:07 +1100 Subject: [PATCH] [host] dxgi: corrected timeout alteration left behind from debugging --- host/Capture/DXGI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/Capture/DXGI.cpp b/host/Capture/DXGI.cpp index 3d1d1ca0..5a34afaa 100644 --- a/host/Capture/DXGI.cpp +++ b/host/Capture/DXGI.cpp @@ -297,7 +297,7 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame) } } - status = m_dup->AcquireNextFrame(10000, &frameInfo, &res); + status = m_dup->AcquireNextFrame(1000, &frameInfo, &res); if (status == DXGI_ERROR_WAIT_TIMEOUT) { if (!m_surfaceMapped)