mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
Don't include GstElement/GstObject properties in the element bindings
This commit is contained in:
parent
f0a7451058
commit
961f12b863
6 changed files with 6 additions and 40 deletions
|
@ -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));
|
||||
|
|
|
@ -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>"element"</default>
|
||||
</element-property>
|
||||
<element-property>
|
||||
<name>async-handling</name>
|
||||
<type>gboolean</type>
|
||||
|
|
|
@ -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>"element"</default>
|
||||
</element-property>
|
||||
<element-property>
|
||||
<name>async-handling</name>
|
||||
<type>gboolean</type>
|
||||
|
|
|
@ -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>"element"</default>
|
||||
</element-property>
|
||||
<element-property>
|
||||
<name>preroll-queue-len</name>
|
||||
<type>guint</type>
|
||||
|
|
|
@ -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>"element"</default>
|
||||
</element-property>
|
||||
<element-property>
|
||||
<name>qos</name>
|
||||
<type>gboolean</type>
|
||||
|
|
|
@ -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>"element"</default>
|
||||
</element-property>
|
||||
<element-property>
|
||||
<name>caps</name>
|
||||
<type>GstCaps</type>
|
||||
|
|
Loading…
Reference in a new issue