summaryrefslogtreecommitdiffstats
path: root/player/audio.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 /player/audio.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 'player/audio.c')
-rw-r--r--player/audio.c1
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;
}