diff --git a/ChangeLog b/ChangeLog index 0960be59b5..33ed59219f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-03-07 Tim-Philipp Müller + + * gst/gst.c: (load_plugin_func): + * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load): + * gst/gstregistrybinary.c: (gst_registry_binary_read_cache): + * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all): + Remove newlines at end of debug log strings. + 2007-03-07 Zaheer Abbas Merali * plugins/elements/gstidentity.c: (gst_identity_check_perfect): diff --git a/gst/gst.c b/gst/gst.c index e85076b3cb..a2c8d0aaae 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -495,7 +495,7 @@ load_plugin_func (gpointer data, gpointer user_data) } else { if (err) { /* Report error to user, and free error */ - GST_ERROR ("Failed to load plugin: %s\n", err->message); + GST_ERROR ("Failed to load plugin: %s", err->message); g_error_free (err); } else { GST_WARNING ("Failed to load plugin: \"%s\"", filename); diff --git a/gst/gstplugin.c b/gst/gstplugin.c index f0c454e739..1a77940d17 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -875,7 +875,7 @@ gst_plugin_load_by_name (const gchar * name) gst_object_unref (plugin); if (!newplugin) { - GST_WARNING ("load_plugin error: %s\n", error->message); + GST_WARNING ("load_plugin error: %s", error->message); g_error_free (error); return NULL; } @@ -921,7 +921,7 @@ gst_plugin_load (GstPlugin * plugin) load_error: { - GST_WARNING ("load_plugin error: %s\n", error->message); + GST_WARNING ("load_plugin error: %s", error->message); g_error_free (error); return NULL; } diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c index 5baff61621..8982b4aa94 100644 --- a/gst/gstregistrybinary.c +++ b/gst/gstregistrybinary.c @@ -747,7 +747,7 @@ gst_registry_binary_read_cache (GstRegistry * registry, const char *location) mapped = g_mapped_file_new (location, FALSE, &err); if (err != NULL) { - GST_INFO ("Unable to mmap file: %s\n", err->message); + GST_INFO ("Unable to mmap file: %s", err->message); g_error_free (err); return FALSE; } diff --git a/gst/gsttrace.c b/gst/gsttrace.c index 6a324529f7..cdf3442553 100644 --- a/gst/gsttrace.c +++ b/gst/gsttrace.c @@ -111,7 +111,7 @@ gst_trace_new (gchar * filename, gint size) g_return_val_if_fail (trace != NULL, NULL); trace->filename = g_strdup (filename); - GST_DEBUG ("opening '%s'\n", trace->filename); + GST_DEBUG ("opening '%s'", trace->filename); #ifndef S_IWUSR #define S_IWUSR S_IWRITE #endif @@ -407,7 +407,7 @@ gst_alloc_trace_set_flags_all (GstAllocTraceFlags flags) while (walk) { GstAllocTrace *trace = (GstAllocTrace *) walk->data; - GST_DEBUG ("set flags on %p\n", trace); + GST_DEBUG ("setting flags %d on %p", (gint) flags, trace); gst_alloc_trace_set_flags (trace, flags); walk = g_list_next (walk);