summaryrefslogtreecommitdiffstats
path: root/audio/filter/af.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-26 12:51:52 +0200
committerwm4 <wm4@nowhere>2013-10-26 13:36:34 +0200
commit3b5657f0c156def89ae30cc73333eb2c2feddd39 (patch)
treef512c3bc2c2cc08ad6d676f34930f12a583ce4ad /audio/filter/af.c
parent1fb1868afeb121a3dcf12fd6f3fb307cfcf0ca4d (diff)
downloadmpv-3b5657f0c156def89ae30cc73333eb2c2feddd39.tar.bz2
mpv-3b5657f0c156def89ae30cc73333eb2c2feddd39.tar.xz
af_volume: remove unused features
Roughly follows MPlayer svn commits 36492 and 36493. We also remove the volume peak reporting. (There are much better libavfilter filters for this, I think.)
Diffstat (limited to 'audio/filter/af.c')
-rw-r--r--audio/filter/af.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c
index 62dce8df7e..c981a41288 100644
--- a/audio/filter/af.c
+++ b/audio/filter/af.c
@@ -285,9 +285,6 @@ static void af_remove(struct af_stream *s, struct af_instance *af)
mp_msg(MSGT_AFILTER, MSGL_V, "[libaf] Removing filter %s \n",
af->info->name);
- // Notify filter before changing anything
- af->control(af, AF_CONTROL_PRE_DESTROY, 0);
-
// Detach pointers
af->prev->next = af->next;
af->next->prev = af->prev;