aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp4ff_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-17 08:51:34 +0100
committerMax Kellermann <max@duempel.org>2009-02-17 08:51:34 +0100
commitd8db46edfaed14c38d97e8880ff07fc629908b2d (patch)
tree716059a2d530fce866d2721e8093fa35f301d809 /src/decoder/mp4ff_plugin.c
parentc4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b (diff)
downloadmpd-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 '')
-rw-r--r--src/decoder/mp4ff_plugin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index 3d5a022a0..d2734207f 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -27,6 +27,9 @@
#include <stdlib.h>
#include <unistd.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "mp4ff"
+
/* all code here is either based on or copied from FAAD2's frontend code */
struct mp4_context {
@@ -340,7 +343,7 @@ mp4_load_tag(const char *file)
int i;
if (!input_stream_open(&input_stream, file)) {
- g_warning("mp4_load_tag: Failed to open file: %s\n", file);
+ g_warning("Failed to open file: %s", file);
return NULL;
}