blob: 1e5a789331d0aa64e52cd874f8c0467ee372c322 [file] [log] [blame]
.TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library"
.SH "NAME"
.LP
\fBMP4GetTrackEditStart\fR \- Get the start time of a track edit segment
.SH "SYNTAX"
.LP
#include <mp4.h>
.LP
MP4Timestamp \fBMP4GetTrackEditStart\fR(
.br
MP4FileHandle \fIhFile\fP,
.br
MP4TrackId \fItrackId\fP,
.br
MP4EditId \fIeditId\fP
.br
)
.SH "ARGUMENTS"
.LP
.TP
\fIhFile\fP
Specifies the mp4 file to which the operation applies.
.TP
\fItrackId\fP
Specifies the track to which the operation applies.
.TP
\fIeditId\fP
Specifies the edit segment for which the start time is desired.
.SH "RETURN VALUES"
.LP
The start time of the edit segment in track time scale units of the track in the mp4 file.
.SH "DESCRIPTION"
.LP
\fBMP4GetTrackEditStart\fR returns the start time of the of the specified track edit segment in the timeline of the track edit list.
.LP
Caveat: The value is in units of the track time scale.
.LP
Note that this differs from the edit segment media start time, MP4GetTrackEditMediaStart(). For example:
.LP
EditId Start MediaStart Duration
1 0 15 30
.br
2 30 120 20
.br
3 50 3000 10
.SH "SEE ALSO"
.LP
MP4(3) MP4SetTrackEditStart(3)