summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-11 17:32:41 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-02-12 09:53:43 +0900
commit64a45f972ced573d965362b40b952b385ec20f0d (patch)
tree045571608707fe365589eb6fe8d9291b5693c63c /wscript_build.py
parentd4207c64e65526c31123bbb5b4517bcb49f1dca4 (diff)
downloadmpv-64a45f972ced573d965362b40b952b385ec20f0d.tar.bz2
mpv-64a45f972ced573d965362b40b952b385ec20f0d.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.) (cherry picked from commit 2522bff5657c7566ac956998bcb32a0c9c3d2667)
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 565dbbc3b1..f0f3be9aa5 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -297,30 +297,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" ),