2009-05-28 09:04:35 +00:00
|
|
|
<element>
|
|
|
|
<name>queue</name>
|
|
|
|
<details>
|
|
|
|
<long-name>Queue</long-name>
|
|
|
|
<class>Generic</class>
|
|
|
|
<description>Simple data queue</description>
|
|
|
|
<authors>Erik Walthinsen <omega@cse.ogi.edu></authors>
|
|
|
|
</details>
|
|
|
|
<object name="GstQueue">
|
|
|
|
<object name="GstElement">
|
|
|
|
<object name="GstObject">
|
|
|
|
<object name="GObject">
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<interfaces>
|
|
|
|
</interfaces>
|
|
|
|
<pad-templates>
|
|
|
|
<pad-template>
|
2009-05-28 13:34:17 +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-template>
|
2009-05-28 13:34:17 +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-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>
|
|
|
|
<event-function function="gst_queue_handle_src_event"/>
|
|
|
|
<query-function function="gst_queue_handle_src_query"/>
|
|
|
|
</implementation>
|
|
|
|
</pad>
|
|
|
|
<pad>
|
|
|
|
<name>sink</name>
|
|
|
|
<direction>sink</direction>
|
|
|
|
<template>sink</template>
|
|
|
|
<implementation>
|
|
|
|
<chain-based function="gst_queue_chain"/>
|
|
|
|
<event-function function="gst_queue_handle_sink_event"/>
|
|
|
|
<bufferalloc-function function="gst_queue_bufferalloc"/>
|
|
|
|
</implementation>
|
|
|
|
</pad>
|
|
|
|
</pads>
|
|
|
|
<element-properties>
|
|
|
|
<element-property>
|
|
|
|
<name>current-level-buffers</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Current level (buffers)</nick>
|
|
|
|
<blurb>Current number of buffers in the queue</blurb>
|
2009-05-28 10:32:25 +00:00
|
|
|
<flags>R</flags>
|
2009-05-28 09:04:35 +00:00
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>current-level-bytes</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Current level (kB)</nick>
|
|
|
|
<blurb>Current amount of data in the queue (bytes)</blurb>
|
2009-05-28 10:32:25 +00:00
|
|
|
<flags>R</flags>
|
2009-05-28 09:04:35 +00:00
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>current-level-time</name>
|
|
|
|
<type>guint64</type>
|
|
|
|
<nick>Current level (ns)</nick>
|
|
|
|
<blurb>Current amount of data in the queue (in ns)</blurb>
|
2009-05-28 10:32:25 +00:00
|
|
|
<flags>R</flags>
|
2009-05-28 09:04:35 +00:00
|
|
|
<range min="0" max="18446744073709551615"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>max-size-buffers</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Max. size (buffers)</nick>
|
|
|
|
<blurb>Max. number of buffers in the queue (0=disable)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>200</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>max-size-bytes</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Max. size (kB)</nick>
|
|
|
|
<blurb>Max. amount of data in the queue (bytes, 0=disable)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>10485760</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>max-size-time</name>
|
|
|
|
<type>guint64</type>
|
|
|
|
<nick>Max. size (ns)</nick>
|
|
|
|
<blurb>Max. amount of data in the queue (in ns, 0=disable)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="18446744073709551615"/>
|
|
|
|
<default>1000000000</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>min-threshold-buffers</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Min. threshold (buffers)</nick>
|
|
|
|
<blurb>Min. number of buffers in the queue to allow reading (0=disable)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>min-threshold-bytes</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Min. threshold (kB)</nick>
|
|
|
|
<blurb>Min. amount of data in the queue to allow reading (bytes, 0=disable)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>min-threshold-time</name>
|
|
|
|
<type>guint64</type>
|
|
|
|
<nick>Min. threshold (ns)</nick>
|
|
|
|
<blurb>Min. amount of data in the queue to allow reading (in ns, 0=disable)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="18446744073709551615"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>leaky</name>
|
|
|
|
<type>GstQueueLeaky</type>
|
|
|
|
<nick>Leaky</nick>
|
|
|
|
<blurb>Where the queue leaks, if at all</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>0</default>
|
|
|
|
<enum-values>
|
|
|
|
<value value="0" nick="no"/>
|
|
|
|
<value value="1" nick="upstream"/>
|
|
|
|
<value value="2" nick="downstream"/>
|
|
|
|
</enum-values>
|
|
|
|
</element-property>
|
|
|
|
</element-properties>
|
|
|
|
<element-signals>
|
|
|
|
<signal>
|
|
|
|
<name>underrun</name>
|
|
|
|
<return-type>void</return-type>
|
|
|
|
<object-type>GstQueue</object-type>
|
|
|
|
<params>
|
|
|
|
</params>
|
|
|
|
</signal>
|
|
|
|
<signal>
|
|
|
|
<name>running</name>
|
|
|
|
<return-type>void</return-type>
|
|
|
|
<object-type>GstQueue</object-type>
|
|
|
|
<params>
|
|
|
|
</params>
|
|
|
|
</signal>
|
|
|
|
<signal>
|
|
|
|
<name>overrun</name>
|
|
|
|
<return-type>void</return-type>
|
|
|
|
<object-type>GstQueue</object-type>
|
|
|
|
<params>
|
|
|
|
</params>
|
|
|
|
</signal>
|
|
|
|
<signal>
|
|
|
|
<name>pushing</name>
|
|
|
|
<return-type>void</return-type>
|
|
|
|
<object-type>GstQueue</object-type>
|
|
|
|
<params>
|
|
|
|
</params>
|
|
|
|
</signal>
|
|
|
|
</element-signals>
|
|
|
|
<element-actions>
|
|
|
|
</element-actions>
|
|
|
|
</element>
|