From ee2311d25237b9828c1423505e5d4055a836414d Mon Sep 17 00:00:00 2001 From: Johns Date: Tue, 6 Oct 2015 18:28:34 +0200 Subject: [PATCH] Fix compile error with opengl and without va-api. --- video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video.c b/video.c index f4b3d93..d9534b4 100644 --- a/video.c +++ b/video.c @@ -10196,7 +10196,9 @@ static const VideoModule *VideoModules[] = { &VaapiModule, #endif #ifdef USE_GLX +#ifdef USE_VAAPI &VaapiGlxModule, // FIXME: if working, prefer this +#endif #endif &NoopModule };