aboutsummaryrefslogtreecommitdiffhomepage
path: root/demux
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-08-13 15:06:07 +0200
committerGravatar wm4 <wm4@nowhere>2016-08-13 15:06:07 +0200
commit78d808c5bdeb7146374068c1f5c535d36c7a0001 (patch)
tree00861eee4a711139f3e883037b04124453aff419 /demux
parentb9ba9a898a9354b52c2154e25a0b5afcb359c5b1 (diff)
audio: log replaygain values in af_volume instead demuxer
The demuxer layer usually doesn't log per-stream information, and even the replaygain information was logged only if it came from tags. So log it in af_volume instead.
Diffstat (limited to 'demux')
-rw-r--r--demux/demux.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 599218b690..e7fcb88e10 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -1002,13 +1002,8 @@ static void demux_update_replaygain(demuxer_t *demuxer)
struct replaygain_data *rg = decode_rgain(demuxer->log, sh->tags);
if (!rg)
rg = decode_rgain(demuxer->log, demuxer->metadata);
- if (rg) {
- MP_VERBOSE(demuxer, "Replaygain/%d: Track=%f/%f Album=%f/%f\n",
- sh->index,
- rg->track_gain, rg->track_peak,
- rg->album_gain, rg->album_peak);
+ if (rg)
sh->codec->replaygain_data = talloc_steal(in, rg);
- }
}
}
}