mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 23:46:43 +00:00
107 lines
2.9 KiB
Text
107 lines
2.9 KiB
Text
<element>
|
|
<name>filesrc</name>
|
|
<details>
|
|
<long-name>File Source</long-name>
|
|
<class>Source/File</class>
|
|
<description>Read from arbitrary point in a file</description>
|
|
<authors>Erik Walthinsen <omega@cse.ogi.edu></authors>
|
|
</details>
|
|
<object name="GstFileSrc">
|
|
<object name="GstBaseSrc">
|
|
<object name="GstElement">
|
|
<object name="GstObject">
|
|
<object name="GObject">
|
|
</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>location</name>
|
|
<type>gchararray</type>
|
|
<nick>File Location</nick>
|
|
<blurb>Location of the file to read</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>fd</name>
|
|
<type>gint</type>
|
|
<nick>File-descriptor</nick>
|
|
<blurb>File-descriptor for the file being mmap()d</blurb>
|
|
<flags>R</flags>
|
|
<range min="0" max="2147483647"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>mmapsize</name>
|
|
<type>gulong</type>
|
|
<nick>mmap() Block Size</nick>
|
|
<blurb>Size in bytes of mmap()d regions</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="18446744073709551615"/>
|
|
<default>4194304</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>sequential</name>
|
|
<type>gboolean</type>
|
|
<nick>Optimise for sequential mmap access</nick>
|
|
<blurb>Whether to use madvise to hint to the kernel that access to mmap pages will be sequential</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>touch</name>
|
|
<type>gboolean</type>
|
|
<nick>Touch mapped region read data</nick>
|
|
<blurb>Touch mmapped data regions to force them to be read from disk</blurb>
|
|
<flags>RW</flags>
|
|
<default>TRUE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>use-mmap</name>
|
|
<type>gboolean</type>
|
|
<nick>Use mmap to read data</nick>
|
|
<blurb>Whether to use mmap() instead of read()</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
</element-signals>
|
|
<element-actions>
|
|
</element-actions>
|
|
</element>
|