summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_pan.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-04 15:04:07 +0200
committerwm4 <wm4@nowhere>2017-04-04 15:04:07 +0200
commitb96a74ec2a77a4fb8d62d331dcd9ed087e9813e6 (patch)
tree773d3cf493384ca11f2ba7da25174fb88c7731b2 /audio/filter/af_pan.c
parent98f8c4f36de0f08fec649aab16358190bf8d41b8 (diff)
downloadmpv-b96a74ec2a77a4fb8d62d331dcd9ed087e9813e6.tar.bz2
mpv-b96a74ec2a77a4fb8d62d331dcd9ed087e9813e6.tar.xz
audio: deprecate most audio filters
Well, ok, only 4 filters. The rest will survive in one or the other form.
Diffstat (limited to 'audio/filter/af_pan.c')
-rw-r--r--audio/filter/af_pan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/filter/af_pan.c b/audio/filter/af_pan.c
index de2adf790c..b2233a7191 100644
--- a/audio/filter/af_pan.c
+++ b/audio/filter/af_pan.c
@@ -180,6 +180,7 @@ static int af_open(struct af_instance *af)
{
af->control = control;
af->filter_frame = filter_frame;
+ MP_WARN(af, "This filter is deprecated. Use lavfi pan instead.\n");
af_pan_t *s = af->priv;
int nch = s->nch;
if (nch && AF_OK != control(af, AF_CONTROL_SET_PAN_NOUT, &nch))