GstMse.SourceBufferList¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The number of SourceBuffers contained by this structure |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when a |
|
Emitted when a |
Fields¶
- Inherited:
Class Details¶
- class GstMse.SourceBufferList(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The Source Buffer List is a list of
GstMse.SourceBuffer
s that can be indexed numerically and monitored for changes. The list itself cannot be modified through this interface, though the Source Buffers it holds can be modified after retrieval.It is used by
GstMse.MediaSource
to provide direct access to its childGstMse.SourceBuffer
s throughGstMse.MediaSource
:source-buffers
as well as informing clients which of the Source Buffers are active throughGstMse.MediaSource
:active-source-buffers
.New in version 1.24.
- get_length()¶
- Returns:
The number of
GstMse.SourceBuffer
objects in the list- Return type:
New in version 1.24.
- index(index)¶
- Parameters:
index (
int
) – index of requested Source Buffer- Returns:
The requested
GstMse.SourceBuffer
orNULL
- Return type:
Retrieves the
GstMse.SourceBuffer
at index from self. If index is greater than the highest index in the list, it will returnNULL
.New in version 1.24.
Signal Details¶
- GstMse.SourceBufferList.signals.on_sourcebuffer_added(source_buffer_list)¶
- Signal Name:
on-sourcebuffer-added
- Flags:
- Parameters:
source_buffer_list (
GstMse.SourceBufferList
) – The object which received the signal
Emitted when a
GstMse.SourceBuffer
has been added to this list.New in version 1.24.
- GstMse.SourceBufferList.signals.on_sourcebuffer_removed(source_buffer_list)¶
- Signal Name:
on-sourcebuffer-removed
- Flags:
- Parameters:
source_buffer_list (
GstMse.SourceBufferList
) – The object which received the signal
Emitted when a
GstMse.SourceBuffer
has been removed from this list.New in version 1.24.
Property Details¶
- GstMse.SourceBufferList.props.length¶
-
The number of
GstMse.SourceBuffer
s contained by this structureNew in version 1.24.