aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_vaapi.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-09 23:35:48 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-09 23:35:48 +0200
commitf8453bcaa4b488aea601af632ab5656979eb6024 (patch)
tree29708d29c91427d68a07c1b159cd4f74a14c606f /src/capture/kms_vaapi.c
parentc6e718a9058529ec7f7dc9c6ab9781479ee6a9de (diff)
Fix screen capture on intel arc gpu (on x11 and wayland)
Diffstat (limited to 'src/capture/kms_vaapi.c')
-rw-r--r--src/capture/kms_vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/kms_vaapi.c b/src/capture/kms_vaapi.c
index a7e8182..fb53e5d 100644
--- a/src/capture/kms_vaapi.c
+++ b/src/capture/kms_vaapi.c
@@ -57,7 +57,7 @@ static bool gsr_capture_kms_vaapi_should_stop(gsr_capture *cap, bool *err) {
static int gsr_capture_kms_vaapi_capture(gsr_capture *cap, AVFrame *frame) {
gsr_capture_kms_vaapi *cap_kms = cap->priv;
- gsr_capture_kms_capture(&cap_kms->kms, frame, cap_kms->params.hdr, false, false, cap_kms->params.record_cursor);
+ gsr_capture_kms_capture(&cap_kms->kms, frame, cap_kms->params.hdr, false, cap_kms->params.record_cursor);
return 0;
}