mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
148 lines
4 KiB
Text
148 lines
4 KiB
Text
<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>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>
|
|
<flags>R</flags>
|
|
<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>
|