summaryrefslogtreecommitdiffstats
path: root/audio/filter
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-21 19:28:26 +0200
committerwm4 <wm4@nowhere>2014-07-21 19:29:58 +0200
commit967add9f0f5658b449e94cd33c44e72ae8cf76a7 (patch)
tree4ce43536a139896d00c0f3bc2fa736277e7c2d65 /audio/filter
parentd1bb1bf8af7ef483ce745459e15693e87671618d (diff)
downloadmpv-967add9f0f5658b449e94cd33c44e72ae8cf76a7.tar.bz2
mpv-967add9f0f5658b449e94cd33c44e72ae8cf76a7.tar.xz
audio: remove unused metadata field
This was used for replaygain at some point, until replaygain info was passed through explicitly.
Diffstat (limited to 'audio/filter')
-rw-r--r--audio/filter/af.c1
-rw-r--r--audio/filter/af.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c
index fe2dcdfb13..9227c9c036 100644
--- a/audio/filter/af.c
+++ b/audio/filter/af.c
@@ -204,7 +204,6 @@ static struct af_instance *af_create(struct af_stream *s, char *name,
.mul = 1,
.data = talloc_zero(af, struct mp_audio),
.log = mp_log_new(af, s->log, name),
- .metadata = s->metadata,
.replaygain_data = s->replaygain_data,
};
struct m_config *config = m_config_from_obj_desc(af, s->log, &desc);
diff --git a/audio/filter/af.h b/audio/filter/af.h
index aa49963b28..bec0e823fe 100644
--- a/audio/filter/af.h
+++ b/audio/filter/af.h
@@ -59,7 +59,6 @@ struct af_info {
struct af_instance {
const struct af_info *info;
struct mp_log *log;
- struct mp_tags *metadata;
struct replaygain_data *replaygain_data;
int (*control)(struct af_instance *af, int cmd, void *arg);
void (*uninit)(struct af_instance *af);
@@ -92,7 +91,6 @@ struct af_stream {
struct mp_log *log;
struct MPOpts *opts;
- struct mp_tags *metadata;
struct replaygain_data *replaygain_data;
};