Gst.TocEntry¶
Fields¶
None
Methods¶
| class | new(type, uid) | 
| append_sub_entry(subentry) | |
| get_entry_type() | |
| get_loop() | |
| get_parent() | |
| get_start_stop_times() | |
| get_sub_entries() | |
| get_tags() | |
| get_toc() | |
| get_uid() | |
| is_alternative() | |
| is_sequence() | |
| merge_tags(tags, mode) | |
| set_loop(loop_type, repeat_count) | |
| set_start_stop_times(start, stop) | |
| set_tags(tags) | 
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.
- type (
 - 
append_sub_entry(subentry)[source]¶
- Parameters: - subentry ( - Gst.TocEntry) – A- Gst.TocEntry- Appends the - Gst.TocEntrysubentry to self.
 - 
get_entry_type()[source]¶
- Returns: - self’s entry type - Return type: - Gst.TocEntryType
 - 
get_loop()[source]¶
- Returns: - Trueif all non-- Nonestorage pointers were filled with appropriate values,- Falseotherwise.- loop_type: - the storage for the loop_type value, leave - Noneif not need.- repeat_count: - the storage for the repeat_count value, leave - Noneif not need.- 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.TocEntryor- None- Gets the parent - Gst.TocEntryof self.
 - 
get_start_stop_times()[source]¶
- Returns: - Trueif all non-- Nonestorage pointers were filled with appropriate values,- Falseotherwise.- start: - the storage for the start value, leave - Noneif not need.- stop: - the storage for the stop value, leave - Noneif not need.- Return type: - ( - bool, start:- int, stop:- int)- Get start and stop values from the self and write them into appropriate storages. 
 - 
get_sub_entries()[source]¶
- Returns: - A - GLib.Listof- Gst.TocEntryof self- Return type: - [ - Gst.TocEntry]- Gets the sub-entries of self. 
 - Returns: - A - Gst.TagListfor self- Return type: - Gst.TagList- Gets the tags for self. 
 - 
get_toc()[source]¶
- Returns: - The parent - Gst.Tocof self- Return type: - Gst.Toc- Gets the parent - Gst.Tocof self.
 - 
is_alternative()[source]¶
- Returns: - Trueif self’s type is an alternative type, otherwise- False- Return type: - bool
 - 
is_sequence()[source]¶
- Returns: - Trueif self’s type is a sequence type, otherwise- False- Return type: - bool
 - Parameters: - tags (Gst.TagListorNone) – AGst.TagListorNone
- mode (Gst.TagMergeMode) – AGst.TagMergeMode
 - Merge tags into the existing tags of self using mode. 
- tags (
 - 
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. 
- loop_type (
 - Parameters: - tags ( - Gst.TagListor- None) – A- Gst.TagListor- None- Set a - Gst.TagListwith tags for the complete self.
 
- 
classmethod