GES.Source

g GES.Extractable GES.Extractable GES.TimelineElement GES.TimelineElement GES.Extractable->GES.TimelineElement GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.TimelineElement GES.Source GES.Source GES.TrackElement GES.TrackElement GES.TimelineElement->GES.TrackElement GES.TrackElement->GES.Source GObject.GInterface GObject.GInterface GObject.GInterface->GES.Extractable GObject.GInterface->GES.MetaContainer GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->GES.TimelineElement GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

GES.AudioSource, GES.VideoSource

Methods

Inherited:

GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GES.TrackElement (5), GES.TimelineElement (18), GObject.Object (7), GES.Extractable (3)

do_create_source ()

do_select_pad (pad)

Properties

Inherited:

GES.TrackElement (5), GES.TimelineElement (9)

Signals

Inherited:

GES.TrackElement (2), GES.TimelineElement (3), GObject.Object (1), GES.MetaContainer (1)

Fields

Inherited:

GES.TrackElement (2), GES.TimelineElement (3), GObject.Object (1), GES.MetaContainer (1)

Name

Type

Access

Description

parent

GES.TrackElement

r

Class Details

class GES.Source(**kwargs)
Bases:

GES.TrackElement

Abstract:

No

Structure:

GES.SourceClass

Base class for single-media sources

do_create_source() virtual
Returns:

The source element to use.

Return type:

Gst.Element

Creates the Gst.Element to put in the source topbin. Other elements will be queued, like a volume. In the case of a AudioUriSource, for example, the subclass will return a decodebin, and we will append a volume.

New in version 1.20.

do_select_pad(pad) virtual
Parameters:

pad (Gst.Pad) – The pad to check

Returns:

True if pad should be used False otherwise.

Return type:

bool

Check whether pad should be exposed/used.

New in version 1.20.