ges: base-xml-formatter: Don't pass non-GObject pointers to GST_DEBUG_OBJECT

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4444>
This commit is contained in:
Sebastian Dröge 2023-04-18 13:03:00 +03:00 committed by Tim-Philipp Müller
parent 0b8a9bfd51
commit 655b25ffc4

View file

@ -479,11 +479,12 @@ _add_all_groups (GESFormatter * self)
lchild = lchild->next) {
child = g_hash_table_lookup (priv->containers, lchild->data);
GST_DEBUG_OBJECT (tmp->data, "Adding %s child %" GST_PTR_FORMAT " %s",
GST_DEBUG_OBJECT (pgroup->group, "Adding %s child %" GST_PTR_FORMAT " %s",
(const gchar *) lchild->data, child,
GES_TIMELINE_ELEMENT_NAME (child));
if (!ges_container_add (GES_CONTAINER (pgroup->group), child)) {
GST_ERROR ("%" GES_FORMAT " could not add child %p while"
GST_ERROR_OBJECT (pgroup->group,
"%" GES_FORMAT " could not add child %p while"
" reloading, this should never happen", GES_ARGS (pgroup->group),
child);
}