GetTrackMedia
The GetTrackMedia function allows you to determine the media that contains a track's sample data.
pascal Media GetTrackMedia (Track theTrack);
theTrack
- Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as
NewMovieTrack and GetMovieTrack (described on page 2-136 and page 2-188, respectively).
DESCRIPTION
The GetTrackMedia function returns the media identifier that corresponds to the media that specifies the track's sample data. If the function could not locate the media, it sets this returned value to nil.
ERROR CODES
| invalidTrack | -2009 | This track is corrupted or invalid |