private void ShowSettings() { pnlSettings.Visibility = Visibility.Visible; using (var decoder = new VideoDecoder()) { decoder.Open(txtFileName.Text); videoSettingsControl.LoadSettings(decoder.VideoInfo); } }
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(); }