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.
This commit is contained in:
Tim-Philipp Müller 2007-12-13 11:41:05 +00:00
parent 4476243228
commit bc8b9fdbb4
2 changed files with 7 additions and 11 deletions

View file

@ -1,3 +1,8 @@
2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
* 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 <slomo@circular-chaos.org> 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
* tools/gst-inspect.c: (print_element_properties_info): * tools/gst-inspect.c: (print_element_properties_info):

View file

@ -517,23 +517,14 @@ gst_object_dispatch_properties_changed (GObject * object,
/* now let the parent dispatch those, too */ /* now let the parent dispatch those, too */
parent = gst_object_get_parent (gst_object); parent = gst_object_get_parent (gst_object);
while (parent) { 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++) { for (i = 0; i < n_pspecs; i++) {
GST_CAT_LOG (GST_CAT_EVENT, "deep notification from %s to %s (%s)", GST_LOG_OBJECT (parent, "deep notification from %s (%s)",
debug_name, debug_parent_name, pspecs[i]->name); debug_name, pspecs[i]->name);
g_signal_emit (parent, gst_object_signals[DEEP_NOTIFY], g_signal_emit (parent, gst_object_signals[DEEP_NOTIFY],
g_quark_from_string (pspecs[i]->name), GST_OBJECT_CAST (object), g_quark_from_string (pspecs[i]->name), GST_OBJECT_CAST (object),
pspecs[i]); pspecs[i]);
} }
g_free (parent_name);
old_parent = parent; old_parent = parent;
parent = gst_object_get_parent (old_parent); parent = gst_object_get_parent (old_parent);