MP4DeleteTrackEdit - Man Page
Delete a track edit segment
Syntax
#include <mp4.h>
bool MP4DeleteTrackEdit(
MP4FileHandle hFile,
MP4TrackId trackId,
MP4EditId editId
)
Arguments
- hFile
Specifies the mp4 file to which the operation applies.
- trackId
Specifies the track to which the operation applies.
- editId
Specifies the edit segment to be deleted.
Return Values
Upon success, true (1). Upon an error, false (0).
Description
MP4DeleteTrackEdit deletes the specified track edit segment. Note that since editId's form a sequence, deleting an editId will cause all edit segments with editId's greater than the deleted one to be reassigned to their editId minus one.
Deleting an edit segment does not delete any media samples.
See Also
Referenced By
MP4AddTrackEdit(3), MP4GetTrackNumberOfEdits(3).
Version 0.9 Cisco Systems Inc. MP4 File Format Library