What's New in QuickTime 4.1
| Previous | Chapter Contents | Chapter Top | Next |
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. Since it has always been possible for an error to be returned and problemTrack to be set to nil, applications shouldn't be surprised to see a nil here.
You can use this error along with GetMovieLoadState to determine if loading failed.
| Previous | Chapter Contents | Chapter Top | Next |