diff options
author | wm4 <wm4@nowhere> | 2015-02-11 17:32:41 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-02-12 09:53:43 +0900 |
commit | 64a45f972ced573d965362b40b952b385ec20f0d (patch) | |
tree | 045571608707fe365589eb6fe8d9291b5693c63c /video/filter/vf_rotate.c | |
parent | d4207c64e65526c31123bbb5b4517bcb49f1dca4 (diff) | |
download | mpv-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 'video/filter/vf_rotate.c')
-rw-r--r-- | video/filter/vf_rotate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/filter/vf_rotate.c b/video/filter/vf_rotate.c index 9f0c60dd44..2df8f94591 100644 --- a/video/filter/vf_rotate.c +++ b/video/filter/vf_rotate.c @@ -66,8 +66,7 @@ static int vf_open(vf_instance_t *vf) return 1; } - MP_FATAL(vf, "Requires libavfilter.\n"); - return 1; + return 0; } #define OPT_BASE_STRUCT struct vf_priv_s |