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:
parent
a4feecce4e
commit
b723cab19d
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user