From 1d54d61b78478762cbbaa7dd039520b9c3955f45 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 8 Mar 2024 11:33:11 +0100 Subject: Reconfigure quality, force refresh nvfbc frame, mention stutter in readme --- src/capture/nvfbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/capture/nvfbc.c') diff --git a/src/capture/nvfbc.c b/src/capture/nvfbc.c index e6ee1a9..5eab5d3 100644 --- a/src/capture/nvfbc.c +++ b/src/capture/nvfbc.c @@ -410,7 +410,7 @@ static int gsr_capture_nvfbc_capture(gsr_capture *cap, AVFrame *frame) { NVFBC_TOCUDA_GRAB_FRAME_PARAMS grab_params; memset(&grab_params, 0, sizeof(grab_params)); grab_params.dwVersion = NVFBC_TOCUDA_GRAB_FRAME_PARAMS_VER; - grab_params.dwFlags = NVFBC_TOCUDA_GRAB_FLAGS_NOWAIT;/* | NVFBC_TOCUDA_GRAB_FLAGS_FORCE_REFRESH;*/ + grab_params.dwFlags = NVFBC_TOCUDA_GRAB_FLAGS_NOWAIT | NVFBC_TOCUDA_GRAB_FLAGS_FORCE_REFRESH;/* | NVFBC_TOCUDA_GRAB_FLAGS_FORCE_REFRESH;*/ grab_params.pFrameGrabInfo = &frame_info; grab_params.pCUDADeviceBuffer = &cu_device_ptr; grab_params.dwTimeoutMs = 0; -- cgit v1.2.3