Bink SDK 1.5v |
Bink is very conservative about critical errors encountered during playback. We would rather end a movie too soon than potentially crash due to a bad data read. When Bink encounters an I/O error, it will set the ReadError field in the BINK structure to non-zero, and will then skip all remaining frames. This means that if you don't check for I/O errors, then your playback logic will end normally and you won't have to do anything special. If you do want to watch for I/O errors (to display an error message, for example), then you just need to check for ReadError going to non-zero after each call to BinkNextFrame. If you want to restart the movie after an error, then you must close the Bink movie, and then reopen it again. To pick up where you left off in the playback, you can use the BinkGoto function to jump to the right location.
Previous Topic (Audio Tracks in Bink)
Group:
Bink Overview
Related Functions:
BinkGoto, BinkNextFrame
Related Structures:
BINK
For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.