QTVideoTrack.InsertVideoTrackSegment Method
Inserts a segment from SourceTrack to the calling QTVideoTrack at DestinationPosition. SourcePosition is the starting point or the segment (seconds) in SourceTrack and SourceDuration is the length (seconds) of the segment.
Syntax
QTVideoTrack.InsertVideoTrackSegment SourceTrack, SourcePosition, SourceDuration, DestinationPosition, CopyMedia, ShowProgress
Parameters | |
SourceTrack |
|
SourcePosition |
|
SourceDuration |
|
DestinationPosition |
|
CopyMedia |
|
ShowProgress |
DestinationPosition is the position in the calling QTVideoTrack at which the segment will be inserted.
If CopyMedia is True, the media in SourceTrack will be copied to the destination track; otherwise a reference to SourceTrack will be used.
If ShowProgress is True and the operation is lengthy, QuickTime will display a modal dialog box with a progress indicator as the operation proceeds.