public void Draw() { if (!_Loaded) { return; } if (!_Finished) { float videoTime = _VideoTimer.ElapsedMilliseconds / 1000f; _Finished = CVideo.Finished(_VideoStream); CVideo.GetFrame(_VideoStream, videoTime); } if (_VideoStream.Texture == null) { return; } CDraw.DrawTexture(_VideoStream.Texture, CSettings.RenderRect, EAspect.Crop); }
public bool IsFinished(CVideoStream stream) { return(CVideo.Finished(stream)); }