From e7977ec87574331510d11751551109cf4794084d Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Tue, 25 Mar 2014 11:49:25 +0100 Subject: af: add replaygain_data field to af_stream and af_instance Closes #664 --- player/audio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'player') 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; } -- cgit v1.2.3