Commit a6510349 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

gst/: Remove newlines at end of debug log strings.

Original commit message from CVS:
* 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.
parent beefb6c9
2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
* 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 <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
......
......@@ -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);
......
......@@ -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;
}
......
......@@ -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;
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment