Esempio n. 1
0
        private void ShowSettings()
        {
            pnlSettings.Visibility = Visibility.Visible;

            using (var decoder = new VideoDecoder())
            {
                decoder.Open(txtFileName.Text);
                videoSettingsControl.LoadSettings(decoder.VideoInfo);
            }
        }
Esempio n. 2
0
        public override void BeginWork()
        {
            VD.Open(VideoPath);

            //Should resume to the next frame (0 if at beggining)
            var resumeFrame = MostRecentFrameIndex + 1.0;

            SeekTo(resumeFrame / VD.VideoInfo.TotalFrames);

            VD.Start();
        }