mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
191 lines
5.2 KiB
Text
191 lines
5.2 KiB
Text
<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>
|
|
<name>src</name>
|
|
<direction>src</direction>
|
|
<presence>always</presence>
|
|
<caps>ANY</caps>
|
|
</pad-template>
|
|
<pad-template>
|
|
<name>sink</name>
|
|
<direction>sink</direction>
|
|
<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>
|
|
<flags>R</flags>
|
|
<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>
|
|
<flags>R</flags>
|
|
<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>
|
|
<flags>R</flags>
|
|
<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>
|