summaryrefslogtreecommitdiffstats
path: root/audio/filter/af.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-03-25 11:49:25 +0100
committerwm4 <wm4@nowhere>2014-04-04 18:35:29 +0200
commite7977ec87574331510d11751551109cf4794084d (patch)
tree7826be39bdbdb19813931c22ae3022c181a50374 /audio/filter/af.c
parent41ba6dad721e618c0e54315bd72ad28afbd7b622 (diff)
downloadmpv-e7977ec87574331510d11751551109cf4794084d.tar.bz2
mpv-e7977ec87574331510d11751551109cf4794084d.tar.xz
af: add replaygain_data field to af_stream and af_instance
Closes #664
Diffstat (limited to 'audio/filter/af.c')
-rw-r--r--audio/filter/af.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c
index 1ef391fbbf..d2c4bae40e 100644
--- a/audio/filter/af.c
+++ b/audio/filter/af.c
@@ -205,6 +205,7 @@ static struct af_instance *af_create(struct af_stream *s, char *name,
.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);
if (m_config_apply_defaults(config, name, s->opts->af_defs) < 0)