mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
182 lines
5.3 KiB
Text
182 lines
5.3 KiB
Text
<element>
|
|
<name>queue2</name>
|
|
<details>
|
|
<long-name>Queue 2</long-name>
|
|
<class>Generic</class>
|
|
<description>Simple data queue</description>
|
|
<authors>Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim.taymans@gmail.com></authors>
|
|
</details>
|
|
<object name="GstQueue2">
|
|
<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_queue2_change_state"/>
|
|
<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_queue2_get_range"/>
|
|
<event-function function="gst_queue2_handle_src_event"/>
|
|
<query-function function="gst_queue2_handle_src_query"/>
|
|
</implementation>
|
|
</pad>
|
|
<pad>
|
|
<name>sink</name>
|
|
<direction>sink</direction>
|
|
<template>sink</template>
|
|
<implementation>
|
|
<chain-based function="gst_queue2_chain"/>
|
|
<event-function function="gst_queue2_handle_sink_event"/>
|
|
<bufferalloc-function function="gst_queue2_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>100</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>2097152</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>2000000000</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>use-buffering</name>
|
|
<type>gboolean</type>
|
|
<nick>Use buffering</nick>
|
|
<blurb>Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>use-rate-estimate</name>
|
|
<type>gboolean</type>
|
|
<nick>Use Rate Estimate</nick>
|
|
<blurb>Estimate the bitrate of the stream to calculate time level</blurb>
|
|
<flags>RW</flags>
|
|
<default>TRUE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>low-percent</name>
|
|
<type>gint</type>
|
|
<nick>Low percent</nick>
|
|
<blurb>Low threshold for buffering to start</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="100"/>
|
|
<default>10</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>high-percent</name>
|
|
<type>gint</type>
|
|
<nick>High percent</nick>
|
|
<blurb>High threshold for buffering to finish</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="100"/>
|
|
<default>99</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>temp-template</name>
|
|
<type>gchararray</type>
|
|
<nick>Temporary File Template</nick>
|
|
<blurb>File template to store temporary files in, should contain directory and XXXXXX. (NULL == disabled)</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>temp-location</name>
|
|
<type>gchararray</type>
|
|
<nick>Temporary File Location</nick>
|
|
<blurb>Location to store temporary files in (Deprecated: Only read this property, use temp-template to configure the name template)</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>temp-remove</name>
|
|
<type>gboolean</type>
|
|
<nick>Remove the Temporary File</nick>
|
|
<blurb>Remove the temp-location after use</blurb>
|
|
<flags>RW</flags>
|
|
<default>TRUE</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
</element-signals>
|
|
<element-actions>
|
|
</element-actions>
|
|
</element>
|