Gst.TocEntry¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gst.TocEntry¶
- classmethod new(type, uid)[source]¶
- Parameters:
type (
Gst.TocEntryType
) – entry type.uid (
str
) – unique ID (UID) in the whole TOC.
- Returns:
newly allocated
Gst.TocEntry
structure, free it with gst_toc_entry_unref().- Return type:
Create new
Gst.TocEntry
structure.
- append_sub_entry(subentry)[source]¶
- Parameters:
subentry (
Gst.TocEntry
) – AGst.TocEntry
Appends the
Gst.TocEntry
subentry to self.
- get_loop()[source]¶
- Returns:
True
if all non-None
storage pointers were filled with appropriate values,False
otherwise.- Return type:
(
bool
, loop_type:Gst.TocLoopType
, repeat_count:int
)
Get loop_type and repeat_count values from the self and write them into appropriate storages. Loops are e.g. used by sampled instruments. GStreamer is not automatically applying the loop. The application can process this meta data and use it e.g. to send a seek-event to loop a section.
New in version 1.4.
- get_parent()[source]¶
- Returns:
The parent
Gst.TocEntry
of self- Return type:
Gst.TocEntry
orNone
Gets the parent
Gst.TocEntry
of self.
- get_start_stop_times()[source]¶
- Returns:
True
if all non-None
storage pointers were filled with appropriate values,False
otherwise.- Return type:
Get start and stop values from the self and write them into appropriate storages.
- get_sub_entries()[source]¶
- Returns:
A
GLib.List
ofGst.TocEntry
of self- Return type:
Gets the sub-entries of self.
- get_tags()[source]¶
- Returns:
A
Gst.TagList
for self- Return type:
Gst.TagList
orNone
Gets the tags for self.
- merge_tags(tags, mode)[source]¶
- Parameters:
tags (
Gst.TagList
orNone
) – AGst.TagList
orNone
mode (
Gst.TagMergeMode
) – AGst.TagMergeMode
Merge tags into the existing tags of self using mode.
- set_loop(loop_type, repeat_count)[source]¶
- Parameters:
loop_type (
Gst.TocLoopType
) – loop_type value to set.repeat_count (
int
) – repeat_count value to set.
Set loop_type and repeat_count values for the self.
New in version 1.4.
- set_tags(tags)[source]¶
- Parameters:
tags (
Gst.TagList
orNone
) – AGst.TagList
orNone
Set a
Gst.TagList
with tags for the complete self.