Don't include GstElement/GstObject properties in the element bindings

This commit is contained in:
Sebastian Dröge 2009-05-28 10:49:44 +02:00
parent f0a7451058
commit 961f12b863
6 changed files with 6 additions and 40 deletions

View file

@ -241,6 +241,12 @@ print_element_properties (GstElement * element, gint pfx)
g_object_get_property (G_OBJECT (element), param->name, &value);
readable = TRUE;
}
/* Ignore GstObject, GstElement properties */
if (param->owner_type == GST_TYPE_OBJECT ||
param->owner_type == GST_TYPE_ELEMENT)
continue;
PUT_START_TAG (pfx + 1, "element-property");
PUT_ESCAPED (pfx + 2, "name", g_param_spec_get_name (param));
PUT_ESCAPED (pfx + 2, "type", g_type_name (param->value_type));

View file

@ -61,14 +61,6 @@
</pad>
</pads>
<element-properties>
<element-property>
<name>name</name>
<type>gchararray</type>
<nick>Name</nick>
<blurb>The name of the object</blurb>
<flags>RW</flags>
<default>&quot;element&quot;</default>
</element-property>
<element-property>
<name>async-handling</name>
<type>gboolean</type>

View file

@ -41,14 +41,6 @@
<pads>
</pads>
<element-properties>
<element-property>
<name>name</name>
<type>gchararray</type>
<nick>Name</nick>
<blurb>The name of the object</blurb>
<flags>RW</flags>
<default>&quot;element&quot;</default>
</element-property>
<element-property>
<name>async-handling</name>
<type>gboolean</type>

View file

@ -55,14 +55,6 @@
</pad>
</pads>
<element-properties>
<element-property>
<name>name</name>
<type>gchararray</type>
<nick>Name</nick>
<blurb>The name of the object</blurb>
<flags>RW</flags>
<default>&quot;element&quot;</default>
</element-property>
<element-property>
<name>preroll-queue-len</name>
<type>guint</type>

View file

@ -63,14 +63,6 @@
</pad>
</pads>
<element-properties>
<element-property>
<name>name</name>
<type>gchararray</type>
<nick>Name</nick>
<blurb>The name of the object</blurb>
<flags>RW</flags>
<default>&quot;element&quot;</default>
</element-property>
<element-property>
<name>qos</name>
<type>gboolean</type>

View file

@ -61,14 +61,6 @@
</pad>
</pads>
<element-properties>
<element-property>
<name>name</name>
<type>gchararray</type>
<nick>Name</nick>
<blurb>The name of the object</blurb>
<flags>RW</flags>
<default>&quot;element&quot;</default>
</element-property>
<element-property>
<name>caps</name>
<type>GstCaps</type>