summaryrefslogtreecommitdiffstats
path: root/video/filter/vf_dsize.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf_dsize.c')
-rw-r--r--video/filter/vf_dsize.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/filter/vf_dsize.c b/video/filter/vf_dsize.c
index 27d21c085e..12fa7242f3 100644
--- a/video/filter/vf_dsize.c
+++ b/video/filter/vf_dsize.c
@@ -29,6 +29,11 @@
#include "video/mp_image.h"
#include "vf.h"
+#include "config.h"
+#if !HAVE_GPL
+#error GPL only
+#endif
+
struct vf_priv_s {
int w, h;
int method; // aspect method, 0 -> downscale, 1-> upscale. +2 -> original aspect.