2009-05-28 09:04:35 +00:00
|
|
|
<element>
|
|
|
|
<name>fakesink</name>
|
|
|
|
<details>
|
|
|
|
<long-name>Fake Sink</long-name>
|
|
|
|
<class>Sink</class>
|
|
|
|
<description>Black hole for data</description>
|
|
|
|
<authors>Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>, Mr. 'frag-me-more' Vanderwingo <wingo@fluendo.com></authors>
|
|
|
|
</details>
|
|
|
|
<object name="GstFakeSink">
|
|
|
|
<object name="GstBaseSink">
|
|
|
|
<object name="GstElement">
|
|
|
|
<object name="GstObject">
|
|
|
|
<object name="GObject">
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<interfaces>
|
|
|
|
</interfaces>
|
|
|
|
<pad-templates>
|
|
|
|
<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_fake_sink_change_state"/>
|
|
|
|
<save function="gst_element_save_thyself"/>
|
|
|
|
<load function="gst_element_restore_thyself"/>
|
|
|
|
</element-implementation>
|
|
|
|
<clocking-interaction>
|
|
|
|
</clocking-interaction>
|
|
|
|
<pads>
|
|
|
|
<pad>
|
|
|
|
<name>sink</name>
|
|
|
|
<direction>sink</direction>
|
|
|
|
<template>sink</template>
|
|
|
|
<implementation>
|
|
|
|
<chain-based function="gst_base_sink_chain"/>
|
|
|
|
<event-function function="gst_base_sink_event"/>
|
|
|
|
<bufferalloc-function function="gst_base_sink_pad_buffer_alloc"/>
|
|
|
|
</implementation>
|
|
|
|
</pad>
|
|
|
|
</pads>
|
|
|
|
<element-properties>
|
|
|
|
<element-property>
|
|
|
|
<name>preroll-queue-len</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Preroll queue length</nick>
|
|
|
|
<blurb>Number of buffers to queue during preroll</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>sync</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Sync</nick>
|
|
|
|
<blurb>Sync on the clock</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>max-lateness</name>
|
|
|
|
<type>gint64</type>
|
|
|
|
<nick>Max Lateness</nick>
|
|
|
|
<blurb>Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="-1" max="9223372036854775807"/>
|
|
|
|
<default>-1</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>qos</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Qos</nick>
|
|
|
|
<blurb>Generate Quality-of-Service events upstream</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>async</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Async</nick>
|
|
|
|
<blurb>Go asynchronously to PAUSED</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>TRUE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>ts-offset</name>
|
|
|
|
<type>gint64</type>
|
|
|
|
<nick>TS Offset</nick>
|
|
|
|
<blurb>Timestamp offset in nanoseconds</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="-9223372036854775808" max="9223372036854775807"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>last-buffer</name>
|
|
|
|
<type>GstBuffer</type>
|
|
|
|
<nick>Last Buffer</nick>
|
|
|
|
<blurb>The last buffer received in the sink</blurb>
|
2009-05-28 10:32:25 +00:00
|
|
|
<flags>R</flags>
|
2009-05-28 09:04:35 +00:00
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>blocksize</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Block size</nick>
|
|
|
|
<blurb>Size in bytes to pull per buffer (0 = default)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>4096</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>render-delay</name>
|
|
|
|
<type>guint64</type>
|
|
|
|
<nick>Render Delay</nick>
|
|
|
|
<blurb>Additional render delay of the sink in nanoseconds</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="18446744073709551615"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>state-error</name>
|
|
|
|
<type>GstFakeSinkStateError</type>
|
|
|
|
<nick>State Error</nick>
|
|
|
|
<blurb>Generate a state change error</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>0</default>
|
|
|
|
<enum-values>
|
|
|
|
<value value="0" nick="none"/>
|
|
|
|
<value value="1" nick="null-to-ready"/>
|
|
|
|
<value value="2" nick="ready-to-paused"/>
|
|
|
|
<value value="3" nick="paused-to-playing"/>
|
|
|
|
<value value="4" nick="playing-to-paused"/>
|
|
|
|
<value value="5" nick="paused-to-ready"/>
|
|
|
|
<value value="6" nick="ready-to-null"/>
|
|
|
|
</enum-values>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>silent</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Silent</nick>
|
|
|
|
<blurb>Don't produce last_message events</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</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>signal-handoffs</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Signal handoffs</nick>
|
|
|
|
<blurb>Send a signal before unreffing the buffer</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>last-message</name>
|
|
|
|
<type>gchararray</type>
|
|
|
|
<nick>Last Message</nick>
|
|
|
|
<blurb>The message describing current status</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>can-activate-push</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Can activate push</nick>
|
|
|
|
<blurb>Can activate in push mode</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>TRUE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>can-activate-pull</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Can activate pull</nick>
|
|
|
|
<blurb>Can activate in pull mode</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>num-buffers</name>
|
|
|
|
<type>gint</type>
|
|
|
|
<nick>num-buffers</nick>
|
|
|
|
<blurb>Number of buffers to accept going EOS</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="-1" max="2147483647"/>
|
|
|
|
<default>-1</default>
|
|
|
|
</element-property>
|
|
|
|
</element-properties>
|
|
|
|
<element-signals>
|
|
|
|
<signal>
|
|
|
|
<name>handoff</name>
|
|
|
|
<return-type>void</return-type>
|
|
|
|
<object-type>GstFakeSink</object-type>
|
|
|
|
<params>
|
|
|
|
<type>GstBuffer</type>
|
|
|
|
<type>GstPad</type>
|
|
|
|
</params>
|
|
|
|
</signal>
|
|
|
|
<signal>
|
|
|
|
<name>preroll-handoff</name>
|
|
|
|
<return-type>void</return-type>
|
|
|
|
<object-type>GstFakeSink</object-type>
|
|
|
|
<params>
|
|
|
|
<type>GstBuffer</type>
|
|
|
|
<type>GstPad</type>
|
|
|
|
</params>
|
|
|
|
</signal>
|
|
|
|
</element-signals>
|
|
|
|
<element-actions>
|
|
|
|
</element-actions>
|
|
|
|
</element>
|