[ Version ( since = "1.18" ) ]
public unowned Clip add_asset_full (Asset asset, ClockTime start, ClockTime inpoint, ClockTime duration, TrackType track_types) throws Error
Extracts a new clip from an asset and adds it to the layer with the given properties.
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 |
The newly created clip. |