aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/capture/kms_cuda.c1
-rw-r--r--src/capture/kms_vaapi.c3
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;
}