Also don't add properties of GstBin and GstPipeline to element bindings

This commit is contained in:
Sebastian Dröge 2009-05-28 11:18:35 +02:00
parent e076c092d8
commit 3d6d0b2496

View file

@ -242,9 +242,11 @@ print_element_properties (GstElement * element, gint pfx)
readable = TRUE;
}
/* Ignore GstObject, GstElement properties */
/* Ignore GstObject, GstElement, GstBin, GstPipeline properties */
if (param->owner_type == GST_TYPE_OBJECT ||
param->owner_type == GST_TYPE_ELEMENT)
param->owner_type == GST_TYPE_ELEMENT ||
param->owner_type == GST_TYPE_BIN ||
param->owner_type == GST_TYPE_PIPELINE)
continue;
PUT_START_TAG (pfx + 1, "element-property");