diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-10 16:44:04 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-10 16:44:04 +0200 |
commit | e4832f3d643abf8adf1f5872614b020c833afd0b (patch) | |
tree | 28aea0eb7192450aa4a66ec4d78c04ca67d96760 /src/capture/kms_cuda.c | |
parent | c17a717326d2cc1c0576e6dc9f2116e72e38b45a (diff) |
Revert "Fix screen capture on intel arc gpu (on x11 and wayland)"
This reverts commit f8453bcaa4b488aea601af632ab5656979eb6024.
Diffstat (limited to 'src/capture/kms_cuda.c')
-rw-r--r-- | src/capture/kms_cuda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/kms_cuda.c b/src/capture/kms_cuda.c index 003b46d..a9f1f8e 100644 --- a/src/capture/kms_cuda.c +++ b/src/capture/kms_cuda.c @@ -85,7 +85,7 @@ static void gsr_capture_kms_unload_cuda_graphics(gsr_capture_kms_cuda *cap_kms) static int gsr_capture_kms_cuda_capture(gsr_capture *cap, AVFrame *frame) { gsr_capture_kms_cuda *cap_kms = cap->priv; - gsr_capture_kms_capture(&cap_kms->kms, frame, cap_kms->params.hdr, true, cap_kms->params.record_cursor); + gsr_capture_kms_capture(&cap_kms->kms, frame, cap_kms->params.hdr, true, true, cap_kms->params.record_cursor); const int div[2] = {1, 2}; // divide UV texture size by 2 because chroma is half size for(int i = 0; i < 2; ++i) { |