MP4SetTrackEditMediaStart - Set the media start time of a track edit segment
#include <mp4.h>
bool MP4SetTrackEditMediaStart(
MP4FileHandle hFile,
MP4TrackId trackId,
MP4EditId editId,
MP4Timestamp mediaStartTime
);
Upon success, true (1). Upon an error, false (0).
MP4SetTrackEditMediaStart sets the media start time of the specified edit segment from the specified track in the track time scale units. See MP4ConvertToTrackTimestamp() for how to map this value from another time scale.
Note that this differs from the edit segment start time. For example:
EditId Start MediaStart Duration
1 0 15 30
2 30 120 20
3 50 3000 10
MP4(3) MP4GetTrackEditMediaStart(3)