GESTrack: Make debug statement more useful

This commit is contained in:
Edward Hervey 2011-05-07 13:42:24 +02:00
parent 17b99d36b2
commit 75fbaa8e29

View file

@ -375,7 +375,8 @@ ges_track_remove_object (GESTrack * track, GESTrackObject * object)
} }
if ((gnlobject = ges_track_object_get_gnlobject (object))) { if ((gnlobject = ges_track_object_get_gnlobject (object))) {
GST_DEBUG ("Removing GnlObject from composition"); GST_DEBUG ("Removing GnlObject '%s' from composition '%s'",
GST_ELEMENT_NAME (gnlobject), GST_ELEMENT_NAME (priv->composition));
if (!gst_bin_remove (GST_BIN (priv->composition), gnlobject)) { if (!gst_bin_remove (GST_BIN (priv->composition), gnlobject)) {
GST_WARNING ("Failed to remove gnlobject from composition"); GST_WARNING ("Failed to remove gnlobject from composition");
return FALSE; return FALSE;