diff options
author | wm4 <wm4@nowhere> | 2015-12-03 09:32:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-03 09:32:40 +0100 |
commit | 17507b593506ad820cfabbe2fcec208ffe9d073f (patch) | |
tree | c32ad98d4ddbcbe6f62dfef397e72ed7081fe282 /video/out/opengl/video.c | |
parent | 57e691b9011e9bdcc4fbc53a484f80057c65a891 (diff) | |
download | mpv-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/video.c')
-rw-r--r-- | video/out/opengl/video.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index f07fbb104b..6f3aba249c 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -459,8 +459,11 @@ const struct m_sub_options gl_video_conf = { OPT_FLOAT("sharpen", unsharp, 0), OPT_CHOICE("prescale", prescale, 0, ({"none", 0}, - {"superxbr", 1}, - {"nnedi3", 2})), + {"superxbr", 1} +#if HAVE_NNEDI + , {"nnedi3", 2} +#endif + )), OPT_INTRANGE("prescale-passes", prescale_passes, 0, 1, MAX_PRESCALE_PASSES), OPT_FLOATRANGE("prescale-downscaling-threshold", |