GstMse.SourceBufferList

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GstMse.SourceBufferList GstMse.SourceBufferList Gst.Object->GstMse.SourceBufferList

Subclasses:

None

Methods

Inherited:

Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_length ()

index (index)

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Name

Type

Flags

Short Description

length

int

r

The number of SourceBuffers contained by this structure

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Short Description

on-sourcebuffer-added

Emitted when a GstMse.SourceBuffer has been added to this list.

on-sourcebuffer-removed

Emitted when a GstMse.SourceBuffer has been removed from this list.

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Class Details

class GstMse.SourceBufferList(**kwargs)
Bases:

Gst.Object

Abstract:

No

Structure:

GstMse.SourceBufferListClass

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 child GstMse.SourceBuffer s through GstMse.MediaSource :source-buffers as well as informing clients which of the Source Buffers are active through GstMse.MediaSource :active-source-buffers.

New in version 1.24.

get_length()
Returns:

The number of GstMse.SourceBuffer objects in the list

Return type:

int

Specification

New in version 1.24.

index(index)
Parameters:

index (int) – index of requested Source Buffer

Returns:

The requested GstMse.SourceBuffer or NULL

Return type:

GstMse.SourceBuffer or None

Retrieves the GstMse.SourceBuffer at index from self. If index is greater than the highest index in the list, it will return NULL.

Specification

New in version 1.24.

Signal Details

GstMse.SourceBufferList.signals.on_sourcebuffer_added(source_buffer_list)
Signal Name:

on-sourcebuffer-added

Flags:

RUN_LAST

Parameters:

source_buffer_list (GstMse.SourceBufferList) – The object which received the signal

Emitted when a GstMse.SourceBuffer has been added to this list.

Specification

New in version 1.24.

GstMse.SourceBufferList.signals.on_sourcebuffer_removed(source_buffer_list)
Signal Name:

on-sourcebuffer-removed

Flags:

RUN_LAST

Parameters:

source_buffer_list (GstMse.SourceBufferList) – The object which received the signal

Emitted when a GstMse.SourceBuffer has been removed from this list.

Specification

New in version 1.24.

Property Details

GstMse.SourceBufferList.props.length
Name:

length

Type:

int

Default Value:

0

Flags:

READABLE

The number of GstMse.SourceBuffer s contained by this structure

Specification

New in version 1.24.