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.TocEntrystructure, free it with gst_toc_entry_unref().- Return type:
Create new
Gst.TocEntrystructure.
- append_sub_entry(subentry)[source]¶
- Parameters:
subentry (
Gst.TocEntry) – AGst.TocEntry
Appends the
Gst.TocEntrysubentry to self.
- get_loop()[source]¶
- Returns:
Trueif all non-Nonestorage pointers were filled with appropriate values,Falseotherwise.- 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.TocEntryof self- Return type:
Gst.TocEntryorNone
Gets the parent
Gst.TocEntryof self.
- get_start_stop_times()[source]¶
- Returns:
Trueif all non-Nonestorage pointers were filled with appropriate values,Falseotherwise.- Return type:
Get start and stop values from the self and write them into appropriate storages.
- get_sub_entries()[source]¶
- Returns:
A
GLib.ListofGst.TocEntryof self- Return type:
Gets the sub-entries of self.
- get_tags()[source]¶
- Returns:
A
Gst.TagListfor self- Return type:
Gst.TagListorNone
Gets the tags for self.
- merge_tags(tags, mode)[source]¶
- Parameters:
tags (
Gst.TagListorNone) – AGst.TagListorNonemode (
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.TagListorNone) – AGst.TagListorNone
Set a
Gst.TagListwith tags for the complete self.