aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/FaadDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-04 22:20:11 +0100
committerMax Kellermann <max@duempel.org>2013-11-04 22:27:49 +0100
commitecf12a60e8f82df59b1cf1fcbab1609fb2dfd7f4 (patch)
tree2ac4cbbf24625362f49c39e7aac3f5b3a4470e32 /src/decoder/FaadDecoderPlugin.cxx
parent6de85cb047b3859f0e1b6d6db86cb735882278c8 (diff)
downloadmpd-ecf12a60e8f82df59b1cf1fcbab1609fb2dfd7f4.tar.gz
mpd-ecf12a60e8f82df59b1cf1fcbab1609fb2dfd7f4.tar.xz
mpd-ecf12a60e8f82df59b1cf1fcbab1609fb2dfd7f4.zip
Log: add level "DEFAULT"
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
Diffstat (limited to 'src/decoder/FaadDecoderPlugin.cxx')
-rw-r--r--src/decoder/FaadDecoderPlugin.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/decoder/FaadDecoderPlugin.cxx b/src/decoder/FaadDecoderPlugin.cxx
index e8b5ad4a8..f1dd5a343 100644
--- a/src/decoder/FaadDecoderPlugin.cxx
+++ b/src/decoder/FaadDecoderPlugin.cxx
@@ -427,17 +427,17 @@ faad_stream_decode(Decoder &mpd_decoder, InputStream &is)
}
if (frame_info.channels != audio_format.channels) {
- FormatInfo(faad_decoder_domain,
- "channel count changed from %u to %u",
- audio_format.channels, frame_info.channels);
+ FormatDefault(faad_decoder_domain,
+ "channel count changed from %u to %u",
+ audio_format.channels, frame_info.channels);
break;
}
if (frame_info.samplerate != audio_format.sample_rate) {
- FormatInfo(faad_decoder_domain,
- "sample rate changed from %u to %lu",
- audio_format.sample_rate,
- (unsigned long)frame_info.samplerate);
+ FormatDefault(faad_decoder_domain,
+ "sample rate changed from %u to %lu",
+ audio_format.sample_rate,
+ (unsigned long)frame_info.samplerate);
break;
}