summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2015-10-06 18:28:34 +0200
committerJohns <johns98@gmx.net>2015-10-06 18:28:34 +0200
commitee2311d25237b9828c1423505e5d4055a836414d (patch)
treef822692938b7b6780984c2c2335cdc5400d7c3bb
parent4fa4f6616a17fe38344d28bd186a493d89ef3b85 (diff)
downloadvdr-plugin-softhddevice-ee2311d25237b9828c1423505e5d4055a836414d.tar.gz
vdr-plugin-softhddevice-ee2311d25237b9828c1423505e5d4055a836414d.tar.bz2
Fix compile error with opengl and without va-api.
-rw-r--r--video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video.c b/video.c
index f4b3d93..d9534b4 100644
--- a/video.c
+++ b/video.c
@@ -10196,8 +10196,10 @@ static const VideoModule *VideoModules[] = {
&VaapiModule,
#endif
#ifdef USE_GLX
+#ifdef USE_VAAPI
&VaapiGlxModule, // FIXME: if working, prefer this
#endif
+#endif
&NoopModule
};