diff options
Diffstat (limited to 'video')
-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 | ||||
-rw-r--r-- | video/out/opengl/hwdec_vaglx.c | 5 | ||||
-rw-r--r-- | video/out/vo_caca.c | 5 | ||||
-rw-r--r-- | video/out/vo_direct3d.c | 5 | ||||
-rw-r--r-- | video/out/x11_common.h | 5 | ||||
-rw-r--r-- | video/vdpau.h | 5 |
19 files changed, 95 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; 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; diff --git a/video/out/vo_caca.c b/video/out/vo_caca.c index 46090afc4a..e63bd69b1d 100644 --- a/video/out/vo_caca.c +++ b/video/out/vo_caca.c @@ -42,6 +42,11 @@ #include "common/msg.h" #include "input/input.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct priv { caca_canvas_t *canvas; caca_display_t *display; diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 952dca85ce..a131d210cb 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -40,6 +40,11 @@ #include "w32_common.h" #include "sub/osd.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + // shaders generated by fxc.exe from d3d_shader_yuv.hlsl #include "d3d_shader_420p.h" diff --git a/video/out/x11_common.h b/video/out/x11_common.h index e69640cc64..1c0096329c 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -29,6 +29,11 @@ #include "common/common.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + struct vo; struct mp_log; diff --git a/video/vdpau.h b/video/vdpau.h index b320fa525a..a224229cbb 100644 --- a/video/vdpau.h +++ b/video/vdpau.h @@ -12,6 +12,11 @@ #include "common/msg.h" #include "hwdec.h" +#include "config.h" +#if !HAVE_GPL +#error GPL only +#endif + #define CHECK_VDP_ERROR_ST(ctx, message, statement) \ do { \ if (vdp_st != VDP_STATUS_OK) { \ |