+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):
} 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);
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;
}
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;
}
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;
}
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
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);