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.
This commit is contained in:
Max Kellermann
2009-02-17 08:51:34 +01:00
parent c4d69f0ae1
commit d8db46edfa
6 changed files with 22 additions and 9 deletions

View File

@@ -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;
}