diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2014-03-12 10:41:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-13 14:36:20 +0100 |
commit | 04e14ec8f69c66681808609046111bc225119e8e (patch) | |
tree | d9cf84254ed05077141d7ae54c90bf3ff971533b /audio/filter/af.c | |
parent | 7918034e151a49fa84622cb3a2753377b3b5597b (diff) | |
download | mpv-04e14ec8f69c66681808609046111bc225119e8e.tar.bz2 mpv-04e14ec8f69c66681808609046111bc225119e8e.tar.xz |
af: add metadata field to af_stream and af_instance
This allows to propagate metadata information to audio filters.
Closes #632
Diffstat (limited to 'audio/filter/af.c')
-rw-r--r-- | audio/filter/af.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c index fe21cc61ed..5a4838ca25 100644 --- a/audio/filter/af.c +++ b/audio/filter/af.c @@ -204,6 +204,7 @@ 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, }; 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) |