What's New in QuickTime 4.1
| Previous | Chapter Contents | Chapter Top | Next |
GetMovieLoadState doesn't do all the work itself. Instead, it queries any idling importers associated with the movie, checks if the movie is fast starting, and queries media handlers. The minimum load state of all of these is then considered to be the load state of the movie.
To check idling importers, the QuickTime Movie Toolbox calls the routine:
pascal ComponentResult MovieImportGetLoadState( MovieImportComponent ci,
long * loadState );
on all idling importers attached to the movie.
To check media handlers, it calls the media handler call:
pascal ComponentResult MediaGetMediaLoadState( MediaHandler mh, long *
mediaLoadState );
An application checking for the load state should throttle its calling of the routine. Not calling GetMovieLoadState more often than every quarter of a second is a good place to start.
| Previous | Chapter Contents | Chapter Top | Next |