diff options
author | Max Kellermann <max@duempel.org> | 2009-02-17 08:51:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-17 08:51:34 +0100 |
commit | d8db46edfaed14c38d97e8880ff07fc629908b2d (patch) | |
tree | 716059a2d530fce866d2721e8093fa35f301d809 /src/decoder/mpcdec_plugin.c | |
parent | c4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b (diff) | |
download | mpd-d8db46edfaed14c38d97e8880ff07fc629908b2d.tar.gz mpd-d8db46edfaed14c38d97e8880ff07fc629908b2d.tar.xz mpd-d8db46edfaed14c38d97e8880ff07fc629908b2d.zip |
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.
Diffstat (limited to 'src/decoder/mpcdec_plugin.c')
-rw-r--r-- | src/decoder/mpcdec_plugin.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <glib.h> #include <unistd.h> +#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; } |