Vidka.Core.EditorLogic.ShowFrameInVideoPlayer C# (CSharp) Метод

ShowFrameInVideoPlayer() публичный Метод

Navigate to that frame in the damn AVI file and pause the damn WMP
public ShowFrameInVideoPlayer ( long frame ) : void
frame long
Результат void
        public void ShowFrameInVideoPlayer(long frame)
        {
            if (previewLauncher.IsPlaying)
                previewLauncher.StopPlayback();
            long frameOffset;
            var clipIndex = Proj.GetVideoClipIndexAtFrame(frame, out frameOffset);
            var secOffset = Proj.FrameToSec(frameOffset);
            if (clipIndex == -1) {
                videoPlayer.SetStillFrameNone();
            }
            else {
                var clip = Proj.ClipsVideo[clipIndex];
                videoPlayer.SetStillFrame(clip.FileName, secOffset);
                //cxzxc("preview1:" + secOffset);
            }
        }
EditorLogic