public void Rewind() { Dispose(); aviManager = new AviFile(filepath); video = aviManager.GetVideoStream(); audio = aviManager.GetAudioStream(); }
public AviVideoStream(string filepath) { this.filepath = filepath; aviManager = new AviFile(filepath); video = aviManager.GetVideoStream(); audio = aviManager.GetAudioStream(); }
public void Dispose() { if (aviManager != null) aviManager.Close(); aviManager = null; }