ges: Fix debugging symbol to avoid segfaults

This commit is contained in:
Thibault Saunier 2011-11-16 15:22:33 -03:00
parent 8addbcddd0
commit 6ed88075d9

View file

@ -1051,8 +1051,7 @@ ges_track_object_lookup_child (GESTrackObject * object, const gchar * prop_name,
if (g_strcmp0 (G_PARAM_SPEC (key)->name, name) == 0) { if (g_strcmp0 (G_PARAM_SPEC (key)->name, name) == 0) {
if (classename == NULL || if (classename == NULL ||
g_strcmp0 (G_OBJECT_TYPE_NAME (G_OBJECT (value)), classename) == 0) { g_strcmp0 (G_OBJECT_TYPE_NAME (G_OBJECT (value)), classename) == 0) {
GST_DEBUG ("The %s property from %s has been found in %s", name, GST_DEBUG ("The %s property from %s has been found", name, classename);
classename, GST_OBJECT_NAME (GST_OBJECT (element)));
if (element) if (element)
*element = g_object_ref (value); *element = g_object_ref (value);