Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public bool IsFinished(CVideoStream stream)
 {
     return(CVideo.Finished(stream));
 }