From 5d54b02cb281f037480b32a2731276747e7d2c4e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 3 Jan 2024 15:31:25 +0100 Subject: Remove unused xevent --- src/capture/kms_cuda.c | 1 - src/capture/kms_vaapi.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/capture') diff --git a/src/capture/kms_cuda.c b/src/capture/kms_cuda.c index d93d603..07122f4 100644 --- a/src/capture/kms_cuda.c +++ b/src/capture/kms_cuda.c @@ -28,7 +28,6 @@ typedef struct { typedef struct { gsr_capture_kms_cuda_params params; - XEvent xev; bool should_stop; bool stop_is_error; diff --git a/src/capture/kms_vaapi.c b/src/capture/kms_vaapi.c index 681f345..2074657 100644 --- a/src/capture/kms_vaapi.c +++ b/src/capture/kms_vaapi.c @@ -22,7 +22,6 @@ typedef struct { typedef struct { gsr_capture_kms_vaapi_params params; - XEvent xev; bool should_stop; bool stop_is_error; @@ -135,7 +134,7 @@ static int gsr_capture_kms_vaapi_start(gsr_capture *cap, AVCodecContext *video_c cap_kms->monitor_id.num_connector_ids = 0; if(gsr_egl_start_capture(cap_kms->params.egl, cap_kms->params.display_to_capture)) { if(!get_monitor_by_name(cap_kms->params.egl, GSR_CONNECTION_WAYLAND, cap_kms->params.display_to_capture, &monitor)) { - fprintf(stderr, "gsr error: gsr_capture_kms_cuda_start: failed to find monitor by name \"%s\"\n", cap_kms->params.display_to_capture); + fprintf(stderr, "gsr error: gsr_capture_kms_vaapi_start: failed to find monitor by name \"%s\"\n", cap_kms->params.display_to_capture); gsr_capture_kms_vaapi_stop(cap, video_codec_context); return -1; } -- cgit v1.2.3