summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/nnedi3.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-03 09:32:40 +0100
committerwm4 <wm4@nowhere>2015-12-03 09:32:40 +0100
commit17507b593506ad820cfabbe2fcec208ffe9d073f (patch)
treec32ad98d4ddbcbe6f62dfef397e72ed7081fe282 /video/out/opengl/nnedi3.h
parent57e691b9011e9bdcc4fbc53a484f80057c65a891 (diff)
downloadmpv-17507b593506ad820cfabbe2fcec208ffe9d073f.tar.bz2
mpv-17507b593506ad820cfabbe2fcec208ffe9d073f.tar.xz
vo_opengl: require --enable-gpl3 for nnedi
There are claims that nnedi3.c doesn't constitute its own new implementation, but is derived from existing HLSL or OpenCL shaders distributed under the LGPLv3 license. Until these are resolved, do the "correct" thing and require --enable-gpl3 to build nnedi.
Diffstat (limited to 'video/out/opengl/nnedi3.h')
-rw-r--r--video/out/opengl/nnedi3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/opengl/nnedi3.h b/video/out/opengl/nnedi3.h
index be69f34c78..837383c6f6 100644
--- a/video/out/opengl/nnedi3.h
+++ b/video/out/opengl/nnedi3.h
@@ -23,9 +23,12 @@
#ifndef MP_GL_NNEDI3_H
#define MP_GL_NNEDI3_H
+#include "config.h"
#include "common.h"
#include "utils.h"
+#define HAVE_NNEDI HAVE_GPL3
+
#define NNEDI3_UPLOAD_UBO 0
#define NNEDI3_UPLOAD_SHADER 1