mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
97 lines
2.6 KiB
Text
97 lines
2.6 KiB
Text
<element>
|
|
<name>filesink</name>
|
|
<details>
|
|
<long-name>File Sink</long-name>
|
|
<class>Sink/File</class>
|
|
<description>Write stream to a file</description>
|
|
<authors>Thomas Vander Stichele <thomas at apestaart dot org></authors>
|
|
</details>
|
|
<object name="GstFileSink">
|
|
<object name="GstBaseSink">
|
|
<object name="GstElement">
|
|
<object name="GstObject">
|
|
<object name="GObject">
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
<interfaces>
|
|
<interface name="GstURIHandler" />
|
|
</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_base_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"/>
|
|
<query-function function="gst_file_sink_query"/>
|
|
<bufferalloc-function function="gst_base_sink_pad_buffer_alloc"/>
|
|
</implementation>
|
|
</pad>
|
|
</pads>
|
|
<element-properties>
|
|
<element-property>
|
|
<name>location</name>
|
|
<type>gchararray</type>
|
|
<nick>File Location</nick>
|
|
<blurb>Location of the file to write</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>buffer-mode</name>
|
|
<type>GstFileSinkBufferMode</type>
|
|
<nick>Buffering mode</nick>
|
|
<blurb>The buffering mode to use</blurb>
|
|
<flags>RW</flags>
|
|
<default>-1</default>
|
|
<enum-values>
|
|
<value value="-1" nick="default"/>
|
|
<value value="0" nick="full"/>
|
|
<value value="1" nick="line"/>
|
|
<value value="2" nick="unbuffered"/>
|
|
</enum-values>
|
|
</element-property>
|
|
<element-property>
|
|
<name>buffer-size</name>
|
|
<type>guint</type>
|
|
<nick>Buffering size</nick>
|
|
<blurb>Size of buffer in number of bytes for line or full buffer-mode</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="4294967295"/>
|
|
<default>65536</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>append</name>
|
|
<type>gboolean</type>
|
|
<nick>Append</nick>
|
|
<blurb>Append to an already existing file</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
</element-signals>
|
|
<element-actions>
|
|
</element-actions>
|
|
</element>
|