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 /player | |
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 'player')
-rw-r--r-- | player/audio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/audio.c b/player/audio.c index 12d03689eb..a391aeabe5 100644 --- a/player/audio.c +++ b/player/audio.c @@ -120,6 +120,7 @@ void reinit_audio_chain(struct MPContext *mpctx) mpctx->d_audio->opts = opts; mpctx->d_audio->header = sh; mpctx->d_audio->metadata = mpctx->demuxer->metadata; + mpctx->d_audio->replaygain_data = mpctx->demuxer->replaygain_data; if (!audio_init_best_codec(mpctx->d_audio, opts->audio_decoders)) goto init_error; } |