CreateTrackElementFunc


Description:

[ CCode ( has_target = false ) ]
public delegate unowned TrackElement? CreateTrackElementFunc (Clip clip, TrackType type)

A method for creating the core TrackElement of a clip, to be added to a Track of the given track type.

If a clip may produce several track elements per track type, CreateTrackElementsFunc is more appropriate.

Parameters:

clip

A Clip

type

A TrackType to create a TrackElement for

Returns:

The TrackElement created by clip, or null if clip can not provide a track element for the given type or an error occurred.


Namespace: GES