mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
ges: base-xml-formatter: Don't pass non-GObject pointers to GST_DEBUG_OBJECT
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4443>
This commit is contained in:
parent
acb913a878
commit
63a4d8bb54
1 changed files with 3 additions and 2 deletions
|
@ -479,11 +479,12 @@ _add_all_groups (GESFormatter * self)
|
||||||
lchild = lchild->next) {
|
lchild = lchild->next) {
|
||||||
child = g_hash_table_lookup (priv->containers, lchild->data);
|
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,
|
(const gchar *) lchild->data, child,
|
||||||
GES_TIMELINE_ELEMENT_NAME (child));
|
GES_TIMELINE_ELEMENT_NAME (child));
|
||||||
if (!ges_container_add (GES_CONTAINER (pgroup->group), 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),
|
" reloading, this should never happen", GES_ARGS (pgroup->group),
|
||||||
child);
|
child);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue