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/mp4ff_plugin.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/decoder/mp4ff_plugin.c') 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 #include +#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; } -- cgit v1.2.3