From bc8b9fdbb45633663fcf0dac23ccd6e36c9a255d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 13 Dec 2007 11:41:05 +0000 Subject: [PATCH] gst/gstobject.c: Don't use GST_CAT_EVENT here for logging, it makes no sense. Original commit message from CVS: * gst/gstobject.c: (gst_object_dispatch_properties_changed): Don't use GST_CAT_EVENT here for logging, it makes no sense. --- ChangeLog | 5 +++++ gst/gstobject.c | 13 ++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6762381c34..e0c8d57198 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-13 Tim-Philipp Müller + + * gst/gstobject.c: (gst_object_dispatch_properties_changed): + Don't use GST_CAT_EVENT here for logging, it makes no sense. + 2007-12-13 Sebastian Dröge * tools/gst-inspect.c: (print_element_properties_info): diff --git a/gst/gstobject.c b/gst/gstobject.c index ed485061a2..fe5dd89692 100644 --- a/gst/gstobject.c +++ b/gst/gstobject.c @@ -517,23 +517,14 @@ gst_object_dispatch_properties_changed (GObject * object, /* now let the parent dispatch those, too */ parent = gst_object_get_parent (gst_object); while (parent) { - /* for debugging ... */ - gchar *parent_name = gst_object_get_name (parent); - -#ifndef GST_DISABLE_GST_DEBUG - gchar *debug_parent_name = GST_STR_NULL (parent_name); -#endif - - /* need own category? */ for (i = 0; i < n_pspecs; i++) { - GST_CAT_LOG (GST_CAT_EVENT, "deep notification from %s to %s (%s)", - debug_name, debug_parent_name, pspecs[i]->name); + GST_LOG_OBJECT (parent, "deep notification from %s (%s)", + debug_name, pspecs[i]->name); g_signal_emit (parent, gst_object_signals[DEEP_NOTIFY], g_quark_from_string (pspecs[i]->name), GST_OBJECT_CAST (object), pspecs[i]); } - g_free (parent_name); old_parent = parent; parent = gst_object_get_parent (old_parent);