GetMediaTimeScale
The GetMediaTimeScale function allows your application to determine a media's time scale.
pascal TimeScale GetMediaTimeScale (Media theMedia);
theMedia
- Specifies the media for this operation. Your application obtains this media identifier from such Movie Toolbox functions as
NewTrackMedia and GetTrackMedia (described on page 2-138 and page 2-190, respectively).
DESCRIPTION
The GetMediaTimeScale function returns the media's time scale.
ERROR CODES
| invalidMedia | -2008 | This media is corrupted or invalid |