diff options
author | wm4 <wm4@nowhere> | 2014-12-04 21:07:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-04 22:42:07 +0100 |
commit | b723cab19d306f4f2a42895f1c1fec14650400fb (patch) | |
tree | 375cd18552830c4b78da0e55512649ae3984eb09 /demux | |
parent | a4feecce4ec9ea710c8c970f45d8d4f8a3944d91 (diff) | |
download | mpv-b723cab19d306f4f2a42895f1c1fec14650400fb.tar.bz2 mpv-b723cab19d306f4f2a42895f1c1fec14650400fb.tar.xz |
demux: don't print message if replaygain tags were not found
Even thouhg it was printed in verbose mode only, it was annoying.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/demux/demux.c b/demux/demux.c index af7277941e..a100149a48 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -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"); |