summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec_vaglx.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/hwdec_vaglx.c')
-rw-r--r--video/out/opengl/hwdec_vaglx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/hwdec_vaglx.c b/video/out/opengl/hwdec_vaglx.c
index d5bc0b6ee7..2ad7970859 100644
--- a/video/out/opengl/hwdec_vaglx.c
+++ b/video/out/opengl/hwdec_vaglx.c
@@ -30,6 +30,11 @@
#include "ra_gl.h"
+#include "config.h"
+#if !HAVE_GPL
+#error GPL only
+#endif
+
struct priv_owner {
struct mp_vaapi_ctx *ctx;
VADisplay *display;