From d8db46edfaed14c38d97e8880ff07fc629908b2d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 17 Feb 2009 08:51:34 +0100 Subject: decoders: added and fixed GLib log domains Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already. --- src/decoder/mpcdec_plugin.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/decoder/mpcdec_plugin.c') diff --git a/src/decoder/mpcdec_plugin.c b/src/decoder/mpcdec_plugin.c index c84dfca9b..fa07b81d8 100644 --- a/src/decoder/mpcdec_plugin.c +++ b/src/decoder/mpcdec_plugin.c @@ -23,6 +23,9 @@ #include #include +#undef G_LOG_DOMAIN +#define G_LOG_DOMAIN "mpcdec" + typedef struct _MpcCallbackData { struct input_stream *inStream; struct decoder *decoder; @@ -253,8 +256,7 @@ static struct tag *mpcTagDup(const char *file) struct tag *tag; if (total_time < 0) { - g_debug("mpcTagDup: Failed to get Songlength of file: %s\n", - file); + g_debug("Failed to get duration of file: %s", file); return NULL; } -- cgit v1.2.3