Minor update checked in

By on 5/13/2008

checked in a few relatively minor items to the Scurvy.Media library:

  • Importer now throws an exception if the .avi file is readonly to avoid any confusion over why the import won't work.
  • Video now has an "End" event that is raised when the video reaches the final frame.  This can be used in cases where you need to know when the video has come to an end (like an Intro video).
  • Improved the video streaming code to read fully into the byte array buffer.  Before, I was just calling .Read on the stream, which is not guaranteed to read the full amount requested.

See more in the archives