1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00

demux: don't print message if replaygain tags were not found

Even thouhg it was printed in verbose mode only, it was annoying.
This commit is contained in:
wm4 2014-12-04 21:07:45 +01:00
parent a4feecce4e
commit b723cab19d

View File

@ -663,10 +663,8 @@ static int decode_gain(demuxer_t *demuxer, const char *tag, float *out)
float dec_val;
tag_val = mp_tags_get_str(demuxer->metadata, tag);
if (!tag_val) {
mp_msg(demuxer->log, MSGL_V, "Replaygain tags not found\n");
if (!tag_val)
return -1;
}
if (decode_float(tag_val, &dec_val)) {
mp_msg(demuxer->log, MSGL_ERR, "Invalid replaygain value\n");