diff options
Diffstat (limited to 'video/out')
-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 |
4 files changed, 20 insertions, 0 deletions
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; |