aboutsummaryrefslogtreecommitdiff
path: root/include/capture/kms_vaapi.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-03-11 19:01:46 +0100
committerdec05eba <dec05eba@protonmail.com>2024-03-11 19:01:46 +0100
commitba096a3ba7815eff41159eedfb646c97451fbef7 (patch)
tree01bea3fea22cec135000e4aa1eaeea16406b56d5 /include/capture/kms_vaapi.h
parent1292892d4dd9c94fccdead7afd58e38c85234bb9 (diff)
Add -cursor option to not record cursor
Diffstat (limited to 'include/capture/kms_vaapi.h')
-rw-r--r--include/capture/kms_vaapi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/capture/kms_vaapi.h b/include/capture/kms_vaapi.h
index 54d0bad..196b597 100644
--- a/include/capture/kms_vaapi.h
+++ b/include/capture/kms_vaapi.h
@@ -6,14 +6,13 @@
#include "../color_conversion.h"
#include "capture.h"
-typedef struct _XDisplay Display;
-
typedef struct {
gsr_egl *egl;
const char *display_to_capture; /* if this is "screen", then the first monitor is captured. A copy is made of this */
gsr_gpu_info gpu_inf;
bool hdr;
gsr_color_range color_range;
+ bool record_cursor;
} gsr_capture_kms_vaapi_params;
gsr_capture* gsr_capture_kms_vaapi_create(const gsr_capture_kms_vaapi_params *params);