aboutsummaryrefslogtreecommitdiff
path: root/src/capture/nvfbc.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-03-10 20:59:17 +0100
committerdec05eba <dec05eba@protonmail.com>2024-03-10 20:59:17 +0100
commitf3c32a880a426d8365f01ba7d61d81b75c04d9bc (patch)
treed4cfa97f27bd56b9b0aa39ac849d2be8f1bc1fb4 /src/capture/nvfbc.c
parentfc5ddc97cf0293a2aff74e47a28d4d49a8b63f17 (diff)
Fix cursor capture in nvidia wayland, hdr, clear background immediately in window capture
Diffstat (limited to 'src/capture/nvfbc.c')
-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 6317e07..7ba0438 100644
--- a/src/capture/nvfbc.c
+++ b/src/capture/nvfbc.c
@@ -310,7 +310,7 @@ static int gsr_capture_nvfbc_start(gsr_capture *cap, AVCodecContext *video_codec
frame->width = video_codec_context->width;
frame->height = video_codec_context->height;
- if(!cuda_create_codec_context(cap_nvfbc->cuda.cu_ctx, video_codec_context, video_codec_context->width, video_codec_context->height, &cap_nvfbc->cuda_stream))
+ if(!cuda_create_codec_context(cap_nvfbc->cuda.cu_ctx, video_codec_context, video_codec_context->width, video_codec_context->height, false, &cap_nvfbc->cuda_stream))
goto error_cleanup;
gsr_cuda_context cuda_context = {