Пример #1
0
 private void converter_FFMPEGOutput(object sender, ProcessOutputArgs e)
 {
     if (this.Dispatcher.CheckAccess())
     {
         ffmpegOutput.Add(e.OutputLine);
         if (ffmpegOutputViewer != null)
         {
             ffmpegOutputViewer.AddOutput(e.OutputLine);
         }
     }
     else
     {
         this.Dispatcher.Invoke((Action)(() => this.converter_FFMPEGOutput(sender, e)));
     }
 }
 private void ShowFFMPEGOutput(object sender, RoutedEventArgs e)
 {
     ffmpegOutputViewer = new FFMPEGOutputViewer();
     ffmpegOutput.ForEach(str => ffmpegOutputViewer.AddOutput(str));
     ffmpegOutputViewer.Show();
 }
Пример #3
0
 private void ShowFFMPEGOutput(object sender, RoutedEventArgs e)
 {
     ffmpegOutputViewer = new FFMPEGOutputViewer();
     ffmpegOutput.ForEach(str => ffmpegOutputViewer.AddOutput(str));
     ffmpegOutputViewer.Show();
 }