gstreamer/gstreamer-sharp/coreplugins/inspect/fakesrc.raw

229 lines
6.1 KiB
Text

<element>
<name>fakesrc</name>
<details>
<long-name>Fake Source</long-name>
<class>Source</class>
<description>Push empty (no data) buffers around</description>
<authors>Erik Walthinsen &lt;omega@cse.ogi.edu&gt;, Wim Taymans &lt;wim@fluendo.com&gt;</authors>
</details>
<object name="GstFakeSrc">
<object name="GstBaseSrc">
<object name="GstElement">
<object name="GstObject">
<object name="GObject">
</object>
</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-templates>
<element-flags>
</element-flags>
<element-implementation>
<state-change function="gst_base_src_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_base_src_pad_get_range"/>
<event-function function="gst_base_src_event_handler"/>
<query-function function="gst_base_src_query"/>
</implementation>
</pad>
</pads>
<element-properties>
<element-property>
<name>data</name>
<type>GstFakeSrcDataType</type>
<nick>data</nick>
<blurb>Data allocation method</blurb>
<flags>RW</flags>
<default>1</default>
<enum-values>
<value value="1" nick="allocate"/>
<value value="2" nick="subbuffer"/>
</enum-values>
</element-property>
<element-property>
<name>sizetype</name>
<type>GstFakeSrcSizeType</type>
<nick>sizetype</nick>
<blurb>How to determine buffer sizes</blurb>
<flags>RW</flags>
<default>1</default>
<enum-values>
<value value="1" nick="empty"/>
<value value="2" nick="fixed"/>
<value value="3" nick="random"/>
</enum-values>
</element-property>
<element-property>
<name>sizemin</name>
<type>gint</type>
<nick>sizemin</nick>
<blurb>Minimum buffer size</blurb>
<flags>RW</flags>
<range min="0" max="2147483647"/>
<default>0</default>
</element-property>
<element-property>
<name>sizemax</name>
<type>gint</type>
<nick>sizemax</nick>
<blurb>Maximum buffer size</blurb>
<flags>RW</flags>
<range min="0" max="2147483647"/>
<default>4096</default>
</element-property>
<element-property>
<name>filltype</name>
<type>GstFakeSrcFillType</type>
<nick>filltype</nick>
<blurb>How to fill the buffer, if at all</blurb>
<flags>RW</flags>
<default>1</default>
<enum-values>
<value value="1" nick="nothing"/>
<value value="2" nick="zero"/>
<value value="3" nick="random"/>
<value value="4" nick="pattern"/>
<value value="5" nick="pattern-span"/>
</enum-values>
</element-property>
<element-property>
<name>datarate</name>
<type>gint</type>
<nick>Datarate</nick>
<blurb>Timestamps buffers with number of bytes per second (0 = none)</blurb>
<flags>RW</flags>
<range min="0" max="2147483647"/>
<default>0</default>
</element-property>
<element-property>
<name>sync</name>
<type>gboolean</type>
<nick>Sync</nick>
<blurb>Sync to the clock to the datarate</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>pattern</name>
<type>gchararray</type>
<nick>pattern</nick>
<blurb>pattern</blurb>
<flags>RW</flags>
<default>NULL</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>FALSE</default>
</element-property>
<element-property>
<name>silent</name>
<type>gboolean</type>
<nick>Silent</nick>
<blurb>Don&apos;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>parentsize</name>
<type>gint</type>
<nick>parentsize</nick>
<blurb>Size of parent buffer for sub-buffered allocation</blurb>
<flags>RW</flags>
<range min="0" max="2147483647"/>
<default>40960</default>
</element-property>
<element-property>
<name>last-message</name>
<type>gchararray</type>
<nick>last-message</nick>
<blurb>The last status message</blurb>
<flags>R</flags>
<default>NULL</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>TRUE</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>is-live</name>
<type>gboolean</type>
<nick>Is this a live source</nick>
<blurb>True if the element cannot produce data in PAUSED</blurb>
<flags>RW</flags>
<default>FALSE</default>
</element-property>
<element-property>
<name>format</name>
<type>GstFormat</type>
<nick>Format</nick>
<blurb>The format of the segment events</blurb>
<flags>RW</flags>
<default>2</default>
<enum-values>
<value value="0" nick="undefined"/>
<value value="1" nick="default"/>
<value value="2" nick="bytes"/>
<value value="3" nick="time"/>
<value value="4" nick="buffers"/>
<value value="5" nick="percent"/>
</enum-values>
</element-property>
</element-properties>
<element-signals>
<signal>
<name>handoff</name>
<return-type>void</return-type>
<object-type>GstFakeSrc</object-type>
<params>
<type>GstBuffer</type>
<type>GstPad</type>
</params>
</signal>
</element-signals>
<element-actions>
</element-actions>
</element>