diff options
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf_crop.c | 5 | ||||
-rw-r--r-- | video/filter/vf_dsize.c | 5 | ||||
-rw-r--r-- | video/filter/vf_expand.c | 5 | ||||
-rw-r--r-- | video/filter/vf_flip.c | 5 | ||||
-rw-r--r-- | video/filter/vf_format.c | 5 | ||||
-rw-r--r-- | video/filter/vf_gradfun.c | 5 | ||||
-rw-r--r-- | video/filter/vf_mirror.c | 5 | ||||
-rw-r--r-- | video/filter/vf_noformat.c | 5 | ||||
-rw-r--r-- | video/filter/vf_pullup.c | 5 | ||||
-rw-r--r-- | video/filter/vf_rotate.c | 5 | ||||
-rw-r--r-- | video/filter/vf_scale.c | 5 | ||||
-rw-r--r-- | video/filter/vf_stereo3d.c | 5 | ||||
-rw-r--r-- | video/filter/vf_sub.c | 5 | ||||
-rw-r--r-- | video/filter/vf_yadif.c | 5 |
14 files changed, 70 insertions, 0 deletions
diff --git a/video/filter/vf_crop.c b/video/filter/vf_crop.c index 79a2fce88c..495abf65c7 100644 --- a/video/filter/vf_crop.c +++ b/video/filter/vf_crop.c @@ -29,6 +29,11 @@ #include "options/m_option.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + static const struct vf_priv_s { int crop_w,crop_h; int crop_x,crop_y; 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. diff --git a/video/filter/vf_expand.c b/video/filter/vf_expand.c index 216c47a6ac..398d90ecba 100644 --- a/video/filter/vf_expand.c +++ b/video/filter/vf_expand.c @@ -32,6 +32,11 @@ #include "options/m_option.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + static struct vf_priv_s { // These four values are a backup of the values parsed from the command line. // This is necessary so that we do not get a mess upon filter reinit due to diff --git a/video/filter/vf_flip.c b/video/filter/vf_flip.c index 30658e48dd..776f127fa1 100644 --- a/video/filter/vf_flip.c +++ b/video/filter/vf_flip.c @@ -27,6 +27,11 @@ #include "video/out/vo.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + static struct mp_image *filter(struct vf_instance *vf, struct mp_image *mpi) { mp_image_vflip(mpi); diff --git a/video/filter/vf_format.c b/video/filter/vf_format.c index 581bbe332f..ebbbc584fc 100644 --- a/video/filter/vf_format.c +++ b/video/filter/vf_format.c @@ -32,6 +32,11 @@ #include "options/m_option.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vf_priv_s { int fmt; int outfmt; diff --git a/video/filter/vf_gradfun.c b/video/filter/vf_gradfun.c index c34b77f82a..33bc883c61 100644 --- a/video/filter/vf_gradfun.c +++ b/video/filter/vf_gradfun.c @@ -29,6 +29,11 @@ #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vf_priv_s { float cfg_thresh; int cfg_radius; diff --git a/video/filter/vf_mirror.c b/video/filter/vf_mirror.c index f835d38130..91cc9a5503 100644 --- a/video/filter/vf_mirror.c +++ b/video/filter/vf_mirror.c @@ -20,6 +20,11 @@ #include "vf.h" #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + static int vf_open(vf_instance_t *vf) { MP_WARN(vf, "This filter is deprecated. Use lavfi hflip instead.\n"); diff --git a/video/filter/vf_noformat.c b/video/filter/vf_noformat.c index 2d3985c216..b6a71d9417 100644 --- a/video/filter/vf_noformat.c +++ b/video/filter/vf_noformat.c @@ -29,6 +29,11 @@ #include "options/m_option.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + static struct vf_priv_s { int fmt; } const vf_priv_dflt = { diff --git a/video/filter/vf_pullup.c b/video/filter/vf_pullup.c index eee6f43d7f..83d5f177b3 100644 --- a/video/filter/vf_pullup.c +++ b/video/filter/vf_pullup.c @@ -26,6 +26,11 @@ #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vf_priv_s { struct pullup_context *ctx; int init; diff --git a/video/filter/vf_rotate.c b/video/filter/vf_rotate.c index be1247f4e9..443a0dac42 100644 --- a/video/filter/vf_rotate.c +++ b/video/filter/vf_rotate.c @@ -27,6 +27,11 @@ #include "vf.h" #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vf_priv_s { int angle; int warn; diff --git a/video/filter/vf_scale.c b/video/filter/vf_scale.c index 9c74db363d..28508e4466 100644 --- a/video/filter/vf_scale.c +++ b/video/filter/vf_scale.c @@ -41,6 +41,11 @@ #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + static struct vf_priv_s { int w, h; int cfg_w, cfg_h; diff --git a/video/filter/vf_stereo3d.c b/video/filter/vf_stereo3d.c index 51cfff8afa..3d29dcd8e8 100644 --- a/video/filter/vf_stereo3d.c +++ b/video/filter/vf_stereo3d.c @@ -36,6 +36,11 @@ #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + //==types==// typedef enum stereo_code { ANAGLYPH_RC_GRAY, //anaglyph red/cyan gray diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c index 184ab8deb3..fdaee80937 100644 --- a/video/filter/vf_sub.c +++ b/video/filter/vf_sub.c @@ -40,6 +40,11 @@ #include "options/m_option.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vf_priv_s { int opt_top_margin, opt_bottom_margin; diff --git a/video/filter/vf_yadif.c b/video/filter/vf_yadif.c index e044dcc6d7..3eee572a5f 100644 --- a/video/filter/vf_yadif.c +++ b/video/filter/vf_yadif.c @@ -28,6 +28,11 @@ #include "vf_lavfi.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vf_priv_s { int mode; int interlaced_only; |