aboutsummaryrefslogtreecommitdiff
path: root/src/capture
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-03-08 11:33:11 +0100
committerdec05eba <dec05eba@protonmail.com>2024-03-08 11:33:11 +0100
commit1d54d61b78478762cbbaa7dd039520b9c3955f45 (patch)
tree5b848b74d53fff7c4e0bf510cba9ab2d9a06a0f2 /src/capture
parent3553cd14f157fc133a2ffda4743aa93ca90f57d1 (diff)
Reconfigure quality, force refresh nvfbc frame, mention stutter in readme
Diffstat (limited to 'src/capture')
-rw-r--r--src/capture/nvfbc.c2
1 files changed, 1 insertions, 1 deletions
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;