Skip to content
Snippets Groups Projects
Commit 6129e316 authored by Florian Zwoch's avatar Florian Zwoch
Browse files

Change NVFBC_TOGL_GRAB_FLAGS_NOWAIT_IF_NEW_FRAME_READY to

NVFBC_TOGL_GRAB_FLAGS_NOWAIT.

Else we would block OBS's render call until a new frame arrives.
On screens where nothing is happening this is an issue. I guess
it should be ok to not wait and deliver the old frame once again.
parent 010234f2
No related branches found
No related tags found
No related merge requests found
Pipeline #379184801 passed
......@@ -349,7 +349,7 @@ static bool capture_frame(data_nvfbc_t *data_nvfbc, GLuint *out_texture, NVFBC_F
NVFBC_TOGL_GRAB_FRAME_PARAMS grab_params = {
.dwVersion = NVFBC_TOGL_GRAB_FRAME_PARAMS_VER,
.dwFlags = NVFBC_TOGL_GRAB_FLAGS_NOWAIT_IF_NEW_FRAME_READY,
.dwFlags = NVFBC_TOGL_GRAB_FLAGS_NOWAIT,
.pFrameGrabInfo = out_info,
.dwTimeoutMs = 0
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment