summaryrefslogtreecommitdiffstats
path: root/audio/filter/af.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-20 14:44:44 +0200
committerwm4 <wm4@nowhere>2015-09-20 14:44:44 +0200
commit21e5e4da4baa92fab9e830ec5a62bbccdea85cf0 (patch)
tree1086c8b4490b7318a8dfe69542883d4bb215461c /audio/filter/af.h
parentbad743aed5a8fd22742317c344f126f04a0392ca (diff)
downloadmpv-21e5e4da4baa92fab9e830ec5a62bbccdea85cf0.tar.bz2
mpv-21e5e4da4baa92fab9e830ec5a62bbccdea85cf0.tar.xz
audio/filter: remove reentrancy flag
This flag was used by some filters and made sure none of these filters were inserted twice. This triggers only if the user explicitly tries to add multiple filters (and not e.g. due to auto-insertion), so at best this warned the user from doing something potentially pointless. At worst, it blocked some (mildly) legitimate use-cases. Get rid of it. Also see #2322.
Diffstat (limited to 'audio/filter/af.h')
-rw-r--r--audio/filter/af.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/audio/filter/af.h b/audio/filter/af.h
index 199486509c..ba64379661 100644
--- a/audio/filter/af.h
+++ b/audio/filter/af.h
@@ -35,10 +35,6 @@ struct mpv_global;
// Number of channels
#define AF_NCH MP_NUM_CHANNELS
-// Flags used for defining the behavior of an audio filter
-#define AF_FLAGS_REENTRANT 0x00000000
-#define AF_FLAGS_NOT_REENTRANT 0x00000001
-
// Flags for af->filter()
#define AF_FILTER_FLAG_EOF 1
@@ -47,7 +43,6 @@ struct mpv_global;
struct af_info {
const char *info;
const char *name;
- const int flags;
int (*open)(struct af_instance *vf);
int priv_size;
const void *priv_defaults;