gst/: Remove newlines at end of debug log strings.
authorTim-Philipp Müller <tim@centricular.net>
Wed, 7 Mar 2007 17:26:49 +0000 (17:26 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 7 Mar 2007 17:26:49 +0000 (17:26 +0000)
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.

ChangeLog
gst/gst.c
gst/gstplugin.c
gst/gstregistrybinary.c
gst/gsttrace.c

index 0960be5..33ed592 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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):
index e85076b..a2c8d0a 100644 (file)
--- 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);
index f0c454e..1a77940 100644 (file)
@@ -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;
   }
index 5baff61..8982b4a 100644 (file)
@@ -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;
   }
index 6a32452..cdf3442 100644 (file)
@@ -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);