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

NAME

6       MP4DeleteTrack - Delete a track
7

SYNTAX

9       #include <mp4.h>
10
11       bool MP4DeleteTrack(
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 to which the operation applies.
21

RETURN VALUES

23       Upon success, true (1). Upon an error, false (0).
24
25

DESCRIPTION

27       MP4DeleteTrack  deletes  the  control  information  associated with the
28       specified track. The trackId will become invalid if this call succeeds.
29
30       Note that the samples associated with this track are not  deleted  with
31       this  call.  This can be accomplished via MP4Optimize(). The reason for
32       this is that multiple tracks can reference the same samples so a global
33       view must be taken when deleting them.
34

SEE ALSO

36       MP4(3)
37
38
39
40Cisco Systems Inc.                Version 0.9                           MP4(3)
Impressum