public VideoStrech GetVideoStream() { IntPtr aviStream; int result = Avi32.AVIFileGetStream(aviFile, out aviStream, Avi32.streamtype_video, 0); if (result != 0) { throw new Exception("Exception in AVIFileGetStream: " + result.ToString()); } VideoStrech stream = new VideoStrech(aviFile, aviStream); branches.Add(stream); return stream; }
public void Open() { videoStretch = this.GetVideoStream(); videoStretch.GetFrameOpen(); }