add_asset


Description:

public unowned Clip add_asset (Asset asset, ClockTime start, ClockTime inpoint, ClockTime duration, TrackType track_types)

See add_asset_full, which also gives an error.

Parameters:

this

The Layer

asset

The asset to extract the new clip from

start

The start value to set on the new clip If `start == CLOCK_TIME_NONE`, it will be added to the end of this, i.e. it will be set to this's duration

inpoint

The in_point value to set on the new clip

duration

The duration value to set on the new clip

track_types

The supported_formats to set on the the new clip, or UNKNOWN to use the default

Returns:

The newly created clip.




2022 vala-language.org