diff options
author | wm4 <wm4@nowhere> | 2017-04-02 17:59:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-02 18:00:16 +0200 |
commit | 3a9e661e929c34d25810fa903abbd9961f73ecef (patch) | |
tree | 2d559b17bba2402d430c34f6dd7832ea8068885c /video/filter/vf_mirror.c | |
parent | 6b9d3f4f7bcc51c9b0ec6407b5df33106b028285 (diff) | |
download | mpv-3a9e661e929c34d25810fa903abbd9961f73ecef.tar.bz2 mpv-3a9e661e929c34d25810fa903abbd9961f73ecef.tar.xz |
video: deprecate almost all video filters
The plan is to nuke the custom filter chain completely. It's not clear
what will happen to the still needed builtin filters (mostly hardware
deinterlacing and vf_vapoursynth). Most likely we'll replace them with
different filter chain concept (whose main purpose will be providing
builtin things and bridging to libavfilter).
The undocumented "warn" options are there to disable deprecation
warnings when the player inserts filter automatically.
The same will be done to audio filters, at a later point.
Diffstat (limited to 'video/filter/vf_mirror.c')
-rw-r--r-- | video/filter/vf_mirror.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_mirror.c b/video/filter/vf_mirror.c index 342c6abd2a..f835d38130 100644 --- a/video/filter/vf_mirror.c +++ b/video/filter/vf_mirror.c @@ -22,6 +22,7 @@ static int vf_open(vf_instance_t *vf) { + MP_WARN(vf, "This filter is deprecated. Use lavfi hflip instead.\n"); return vf_lw_set_graph(vf, NULL, NULL, "hflip") >= 0; } |