Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |

GetMovieStatus Updated

Because the movie is loaded asynchronously, you can't use the return value from NewMovieFrom... exclusively to detect errors in loading. Instead, the GetMovieStatus function has been updated, so that it can return errors reported from the asynchronous loading machinery. In this case, the problemTrack will be set to nil. You can use this error along with GetMovieLoadState to determine if loading failed.

Note that you also need to call MoviesTask to make sure the movie state progresses.


© 2000 Apple Computer, Inc.

Inside Macintosh: QuickTime Reference

| Previous | Chapter Contents | Chapter Top | Next |