mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 19:36:38 +00:00
111 lines
3 KiB
Text
111 lines
3 KiB
Text
<element>
|
|
<name>fdsrc</name>
|
|
<details>
|
|
<long-name>Filedescriptor Source</long-name>
|
|
<class>Source/File</class>
|
|
<description>Read from a file descriptor</description>
|
|
<authors>Erik Walthinsen <omega@cse.ogi.edu></authors>
|
|
</details>
|
|
<object name="GstFdSrc">
|
|
<object name="GstPushSrc">
|
|
<object name="GstBaseSrc">
|
|
<object name="GstElement">
|
|
<object name="GstObject">
|
|
<object name="GObject">
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
<interfaces>
|
|
<interface name="GstURIHandler" />
|
|
</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>blocksize</name>
|
|
<type>gulong</type>
|
|
<nick>Block size</nick>
|
|
<blurb>Size in bytes to read per buffer (-1 = default)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="18446744073709551615"/>
|
|
<default>4096</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>num-buffers</name>
|
|
<type>gint</type>
|
|
<nick>num-buffers</nick>
|
|
<blurb>Number of buffers to output before sending EOS (-1 = unlimited)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>typefind</name>
|
|
<type>gboolean</type>
|
|
<nick>Typefind</nick>
|
|
<blurb>Run typefind before negotiating</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>do-timestamp</name>
|
|
<type>gboolean</type>
|
|
<nick>Do timestamp</nick>
|
|
<blurb>Apply current stream time to buffers</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>fd</name>
|
|
<type>gint</type>
|
|
<nick>fd</nick>
|
|
<blurb>An open file descriptor to read from</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="2147483647"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>timeout</name>
|
|
<type>guint64</type>
|
|
<nick>Timeout</nick>
|
|
<blurb>Post a message after timeout microseconds (0 = disabled)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="18446744073709551615"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
</element-signals>
|
|
<element-actions>
|
|
</element-actions>
|
|
</element>
|