diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-01-03 15:31:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-01-03 15:32:11 +0100 |
commit | 5d54b02cb281f037480b32a2731276747e7d2c4e (patch) | |
tree | 8b26c71193a49c9ae69be42e6ef7a6741ed8f8cf /src | |
parent | 0af35ae6df2ba08fe843be24af56821a0e418d7c (diff) |
Remove unused xevent
Diffstat (limited to 'src')
-rw-r--r-- | src/capture/kms_cuda.c | 1 | ||||
-rw-r--r-- | src/capture/kms_vaapi.c | 3 |
2 files changed, 1 insertions, 3 deletions
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; } |