summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-11 17:32:41 +0100
committerwm4 <wm4@nowhere>2015-02-11 17:35:58 +0100
commit2522bff5657c7566ac956998bcb32a0c9c3d2667 (patch)
tree5619032a1a103f1d101868c1843dca23b69ce8fb /wscript_build.py
parent73d23a94059e40fd1209912d9365a2fb910eb8b1 (diff)
downloadmpv-2522bff5657c7566ac956998bcb32a0c9c3d2667.tar.bz2
mpv-2522bff5657c7566ac956998bcb32a0c9c3d2667.tar.xz
video/filters: simplify libavfilter bridge
Remove the confusing crap that allowed a filter using the libavfilter bridge to be compiled without libavfilter. Instead, compile the wrappers only if libavfilter is enabled at compile time. The only filter which still requires it is vf_stereo3d (unfortunately). Special-case this one. (The whole filter and how it interacts with lavfi is pure braindeath anyway.)
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/wscript_build.py b/wscript_build.py
index ab92cd3466..ebcab9d618 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -298,30 +298,30 @@ def build(ctx):
( "video/filter/vf.c" ),
( "video/filter/vf_buffer.c" ),
( "video/filter/vf_crop.c" ),
- ( "video/filter/vf_delogo.c" ),
+ ( "video/filter/vf_delogo.c", "libavfilter"),
( "video/filter/vf_dlopen.c", "dlopen" ),
( "video/filter/vf_dsize.c" ),
( "video/filter/vf_eq.c" ),
( "video/filter/vf_expand.c" ),
( "video/filter/vf_flip.c" ),
( "video/filter/vf_format.c" ),
- ( "video/filter/vf_gradfun.c" ),
- ( "video/filter/vf_hqdn3d.c" ),
+ ( "video/filter/vf_gradfun.c", "libavfilter"),
+ ( "video/filter/vf_hqdn3d.c", "libavfilter"),
( "video/filter/vf_lavfi.c", "libavfilter"),
( "video/filter/vf_mirror.c" ),
( "video/filter/vf_noformat.c" ),
- ( "video/filter/vf_noise.c" ),
- ( "video/filter/vf_pullup.c" ),
- ( "video/filter/vf_rotate.c" ),
+ ( "video/filter/vf_noise.c", "libavfilter"),
+ ( "video/filter/vf_pullup.c", "libavfilter"),
+ ( "video/filter/vf_rotate.c", "libavfilter"),
( "video/filter/vf_scale.c" ),
( "video/filter/vf_screenshot.c" ),
( "video/filter/vf_stereo3d.c" ),
( "video/filter/vf_sub.c" ),
- ( "video/filter/vf_unsharp.c" ),
+ ( "video/filter/vf_unsharp.c", "libavfilter"),
( "video/filter/vf_vapoursynth.c", "vapoursynth-core" ),
( "video/filter/vf_vavpp.c", "vaapi-vpp"),
( "video/filter/vf_vdpaupp.c", "vdpau" ),
- ( "video/filter/vf_yadif.c" ),
+ ( "video/filter/vf_yadif.c", "libavfilter"),
( "video/out/aspect.c" ),
( "video/out/bitmap_packer.c" ),
( "video/out/cocoa/video_view.m", "cocoa" ),