From 8c93b2d54cf234d9a3ed2f20318a885463d20266 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 4 Apr 2022 19:40:31 -0500 Subject: [PATCH] Fix VAAPIRenderer build error with HAVE_DRM but not HAVE_EGL --- app/streaming/video/ffmpeg-renderers/vaapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/streaming/video/ffmpeg-renderers/vaapi.h b/app/streaming/video/ffmpeg-renderers/vaapi.h index b1933fac..05e4500f 100644 --- a/app/streaming/video/ffmpeg-renderers/vaapi.h +++ b/app/streaming/video/ffmpeg-renderers/vaapi.h @@ -26,7 +26,7 @@ extern "C" { #include #endif #include -#ifdef HAVE_EGL +#if defined(HAVE_EGL) || defined(HAVE_DRM) #include #endif }