diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2014-03-25 11:49:25 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-04 18:35:29 +0200 |
commit | e7977ec87574331510d11751551109cf4794084d (patch) | |
tree | 7826be39bdbdb19813931c22ae3022c181a50374 /audio/decode/dec_audio.c | |
parent | 41ba6dad721e618c0e54315bd72ad28afbd7b622 (diff) | |
download | mpv-e7977ec87574331510d11751551109cf4794084d.tar.bz2 mpv-e7977ec87574331510d11751551109cf4794084d.tar.xz |
af: add replaygain_data field to af_stream and af_instance
Closes #664
Diffstat (limited to 'audio/decode/dec_audio.c')
-rw-r--r-- | audio/decode/dec_audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/decode/dec_audio.c b/audio/decode/dec_audio.c index b753043869..b44216ec00 100644 --- a/audio/decode/dec_audio.c +++ b/audio/decode/dec_audio.c @@ -215,6 +215,8 @@ int audio_init_filters(struct dec_audio *d_audio, int in_samplerate, afs->metadata = d_audio->metadata; + afs->replaygain_data = d_audio->replaygain_data; + char *s_from = mp_audio_config_to_str(&afs->input); char *s_to = mp_audio_config_to_str(&afs->output); MP_VERBOSE(d_audio, "Building audio filter chain for %s -> %s...\n", s_from, s_to); |