GES.TrackElementAsset

g GES.Asset GES.Asset GES.TrackElementAsset GES.TrackElementAsset GES.Asset->GES.TrackElementAsset GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.Asset GObject.GInterface GObject.GInterface GObject.GInterface->GES.MetaContainer Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object GObject.Object->GES.Asset Gio.AsyncInitable->GES.Asset Gio.Initable->GES.Asset

Subclasses:GES.EffectAsset, GES.UriSourceAsset

Virtual Methods

Inherited:GES.Asset (5), GObject.Object (7), Gio.AsyncInitable (2), Gio.Initable (1)
  do_get_natural_framerate (framerate_n, framerate_d)

Properties

Inherited:GES.Asset (4)
Name Type Flags Short Description
track-type GES.TrackType r/w/c The GES.TrackType in which the object is

Fields

Inherited:GObject.Object (1), GES.MetaContainer (1)
Name Type Access Description
parent GES.Asset r  

Class Details

class GES.TrackElementAsset(**kwargs)
Bases:GES.Asset
Abstract:No
Structure:GES.TrackElementAssetClass
get_natural_framerate(framerate_n, framerate_d)[source]
Parameters:
  • framerate_n (int) – The framerate numerator
  • framerate_d (int) – The framerate denominator
Return type:

bool

Result: True if self has a natural framerate False otherwise

New in version 1.18.

get_track_type()[source]
Returns:a GES.TrackType
Return type:GES.TrackType

Get the GESAssetTrackType the GES.TrackElement extracted from self should get into

set_track_type(type)[source]
Parameters:type (GES.TrackType) – A GES.TrackType

Set the GES.TrackType the GES.TrackElement extracted from self should get into

do_get_natural_framerate(framerate_n, framerate_d) virtual
Parameters:
  • framerate_n (int) – The framerate numerator
  • framerate_d (int) – The framerate denominator
Returns:

True if self has a natural framerate False otherwise.

Return type:

bool

Result: True if self has a natural framerate False otherwise

New in version 1.18.

Property Details

GES.TrackElementAsset.props.track_type
Name:track-type
Type:GES.TrackType
Default Value:GES.TrackType.UNKNOWN
Flags:READABLE, WRITABLE, CONSTRUCT

The GES.TrackType in which the object is