1MP4(3)                      MP4 File Format Library                     MP4(3)
2
3
4

NAME

6       MP4GetTrackNumberOfEdits - Get the number of edit segments for a track
7

SYNTAX

9       #include <mp4.h>
10
11       u_int32_t MP4GetTrackNumberOfEdits(
12            MP4FileHandle hFile,
13            MP4TrackId trackId
14       )
15

ARGUMENTS

17       hFile  Specifies the mp4 file to which the operation applies.
18
19       trackId
20              Specifies  the  track  for  which the number of edit segments is
21              desired.
22

RETURN VALUES

24       Upon success, the number of edit segments for the track. Upon an error,
25       0.
26

DESCRIPTION

28       MP4GetTrackNumberOfEdits  returns  the  number  of edit segments in the
29       specified track in the mp4 file. Edit id's are the consecutive sequence
30       of  numbers  from  1 to the total number of edit segments, i.e. 1-based
31       indexing, not 0-based indexing.
32

SEE ALSO

34       MP4(3) MP4AddTrackEdit(3) MP4DeleteTrackEdit(3)
35
36
37
38Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum