Example #1
0
 /// <summary>
 /// Create movie object from file
 /// </summary>
 /// <param name="file">filename of mpeg-1 movie.</param>
 public Movie(string file)
 {
     this.Handle =
         Smpeg.SMPEG_new(file, out this.movieInfo,
                         (int)SdlFlag.TrueValue);
     if (this.Handle == IntPtr.Zero)
     {
         throw MovieStatusException.Generate();
     }
 }
Example #2
0
 /// <summary>
 /// Represents an error resulting from a movie not playing correctly
 /// </summary>
 public MovieStatusException()
 {
     MovieStatusException.Generate();
 }