From 621f253f000863688d32f4f9a5a57db4690735c7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 3 Jan 2025 17:14:30 +0100 Subject: Minor change --- src/capture/kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/capture/kms.c') diff --git a/src/capture/kms.c b/src/capture/kms.c index 27ddec4..ba062f8 100644 --- a/src/capture/kms.c +++ b/src/capture/kms.c @@ -227,7 +227,7 @@ static int gsr_capture_kms_start(gsr_capture *cap, AVCodecContext *video_codec_c video_codec_context->height = FFALIGN(self->params.output_resolution.y, 2); } - self->fast_path_failed = self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD && !gl_driver_version_greater_than(self->params.egl, 24, 0, 9); + self->fast_path_failed = self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD && !gl_driver_version_greater_than(&self->params.egl->gpu_info, 24, 0, 9); if(self->fast_path_failed) fprintf(stderr, "gsr warning: gsr_capture_kms_start: your amd driver (mesa) version is known to be buggy (<= version 24.0.9), falling back to opengl copy\n"); -- cgit v1.2.3