aboutsummaryrefslogtreecommitdiff
path: root/include/capture
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 /include/capture
parentfc5ddc97cf0293a2aff74e47a28d4d49a8b63f17 (diff)
Fix cursor capture in nvidia wayland, hdr, clear background immediately in window capture
Diffstat (limited to 'include/capture')
-rw-r--r--include/capture/capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/capture/capture.h b/include/capture/capture.h
index 148da16..2eb8e42 100644
--- a/include/capture/capture.h
+++ b/include/capture/capture.h
@@ -63,6 +63,6 @@ bool gsr_capture_base_setup_cuda_textures(gsr_capture_base *self, AVFrame *frame
void gsr_capture_base_stop(gsr_capture_base *self);
bool drm_create_codec_context(const char *card_path, AVCodecContext *video_codec_context, int width, int height, bool hdr, VADisplay *va_dpy);
-bool cuda_create_codec_context(CUcontext cu_ctx, AVCodecContext *video_codec_context, int width, int height, CUstream *cuda_stream);
+bool cuda_create_codec_context(CUcontext cu_ctx, AVCodecContext *video_codec_context, int width, int height, bool hdr, CUstream *cuda_stream);
#endif /* GSR_CAPTURE_CAPTURE_H */