mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-01 16:22:25 +00:00
1c0dbd87b9
Original commit message from CVS: * docs/gst/tmpl/gstcaps.sgml: * docs/gst/tmpl/gstfilesrc.sgml: * docs/gst/tmpl/gststructure.sgml: * docs/gst/tmpl/gstvalue.sgml: update for recent API changes * gst/gstcaps.c: (gst_caps_do_simplify): fix to stop trying with a freed structure * gst/gstpad.c: (gst_pad_link_fixate): simplify caps * gst/gstpad.c: (gst_pad_template_get_caps_by_name): remove C++ comment * gst/gstpad.h: deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway * gst/gststructure.c: (gst_structure_value_get_generic_type), (gst_structure_to_string): keep the correct type when using lists of ranges * gst/gstvalue.c: (gst_value_list_prepend_value), (gst_value_list_append_value): copy the value before adding to the list (d'oh) * gst/gstvalue.c: (gst_value_subtract_int_range_int), (gst_value_subtract_int_range_int_range): handle overflows correctly * gst/gstvalue.c: (gst_value_subtract_from_list): fix memleak * testsuite/caps/caps.h: add a caps that caused segfaults
47 lines
666 B
Text
47 lines
666 B
Text
<!-- ##### SECTION Title ##### -->
|
|
GstFileSrc
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Read data from a file
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
FileSrc is used to read buffers from a file. It efficiently uses mmap
|
|
and subbuffers.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GstFileSrc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@element:
|
|
@srcpad:
|
|
@pagesize:
|
|
@filename:
|
|
@uri:
|
|
@fd:
|
|
@filelen:
|
|
@curoffset:
|
|
@block_size:
|
|
@touch:
|
|
@using_mmap:
|
|
@is_regular:
|
|
@mapbuf:
|
|
@mapsize:
|
|
@need_discont:
|
|
@need_flush:
|
|
|
|
<!-- ##### ENUM GstFileSrcFlags ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@GST_FILESRC_OPEN:
|
|
@GST_FILESRC_FLAG_LAST:
|
|
|