2009-05-28 09:04:35 +00:00
<element>
<name>identity</name>
<details>
<long-name>Identity</long-name>
<class>Generic</class>
<description>Pass data without modification</description>
<authors>Erik Walthinsen <omega@cse.ogi.edu></authors>
</details>
<object name="GstIdentity">
<object name="GstBaseTransform">
<object name="GstElement">
<object name="GstObject">
<object name="GObject">
</object>
</object>
</object>
</object>
</object>
<interfaces>
</interfaces>
<pad-templates>
<pad-template>
2009-09-11 08:29:15 +00:00
<name>sink</name>
<direction>sink</direction>
2009-05-28 09:04:35 +00:00
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
<pad-template>
2009-09-11 08:29:15 +00:00
<name>src</name>
<direction>src</direction>
2009-05-28 09:04:35 +00:00
<presence>always</presence>
<caps>ANY</caps>
</pad-template>
</pad-templates>
<element-flags>
</element-flags>
<element-implementation>
<state-change function="gst_element_change_state_func"/>
<save function="gst_element_save_thyself"/>
<load function="gst_element_restore_thyself"/>
</element-implementation>
<clocking-interaction>
</clocking-interaction>
<pads>
<pad>
<name>src</name>
<direction>src</direction>
<template>src</template>
<implementation>
<get-range-based function="gst_base_transform_getrange"/>
<event-function function="gst_base_transform_src_event"/>
</implementation>
</pad>
<pad>
<name>sink</name>
<direction>sink</direction>
<template>sink</template>
<implementation>
<chain-based function="gst_base_transform_chain"/>
<event-function function="gst_base_transform_sink_event"/>
<bufferalloc-function function="gst_base_transform_buffer_alloc"/>
</implementation>
</pad>
</pads>
<element-properties>
<element-property>
<name>sleep-time</name>
<type>guint</type>
<nick>Sleep time</nick>
<blurb>Microseconds to sleep between processing</blurb>
<flags>RW</flags>
<range min="0" max="4294967295"/>
<default>0</default>
</element-property>
<element-property>
<name>error-after</name>
<type>gint</type>
<nick>Error After</nick>
<blurb>Error after N buffers</blurb>
<flags>RW</flags>
<range min="-2147483648" max="2147483647"/>
<default>-1</default>
</element-property>
<element-property>
<name>drop-probability</name>
<type>gfloat</type>
<nick>Drop Probability</nick>
<blurb>The Probability a buffer is dropped</blurb>
<flags>RW</flags>
2009-11-25 09:07:42 +00:00
<range min="0.000000" max="1.000000"/>
<default>0.000000</default>
2009-05-28 09:04:35 +00:00
</element-property>
<element-property>
<name>datarate</name>
<type>gint</type>
<nick>Datarate</nick>
<blurb>(Re)timestamps buffers with number of bytes per second (0 = inactive)</blurb>
<flags>RW</flags>
<range min="0" max="2147483647"/>
<default>0</default>
</element-property>
<element-property>
<name>silent</name>
<type>gboolean</type>
<nick>silent</nick>
<blurb>silent</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>single-segment</name>
<type>gboolean</type>
<nick>Single Segment</nick>
<blurb>Timestamp buffers and eat newsegments so as to appear as one segment</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>last-message</name>
<type>gchararray</type>
<nick>last-message</nick>
<blurb>last-message</blurb>
2009-05-28 10:32:25 +00:00
<flags>R</flags>
2009-05-28 09:04:35 +00:00
<default>NULL</default>
</element-property>
<element-property>
<name>dump</name>
<type>gboolean</type>
<nick>Dump</nick>
<blurb>Dump buffer contents to stdout</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>sync</name>
<type>gboolean</type>
<nick>Synchronize</nick>
<blurb>Synchronize to pipeline clock</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>check-perfect</name>
<type>gboolean</type>
<nick>Check For Perfect Stream</nick>
<blurb>Verify that the stream is time- and data-contiguous. This only logs in the debug log. This will be deprecated in favor of the check-imperfect-timestamp/offset properties.</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>check-imperfect-timestamp</name>
<type>gboolean</type>
<nick>Check for discontiguous timestamps</nick>
<blurb>Send element messages if timestamps and durations do not match up</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>check-imperfect-offset</name>
<type>gboolean</type>
<nick>Check for discontiguous offset</nick>
<blurb>Send element messages if offset and offset_end do not match up</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>signal-handoffs</name>
<type>gboolean</type>
<nick>Signal handoffs</nick>
<blurb>Send a signal before pushing the buffer</blurb>
<flags>RW</flags>
<default>TRUE</default>
</element-property>
</element-properties>
<element-signals>
<signal>
<name>handoff</name>
<return-type>void</return-type>
<object-type>GstIdentity</object-type>
<params>
<type>GstBuffer</type>
</params>
</signal>
</element-signals>
<element-actions>
</element-actions>
</element>