private async void ButtonClose_Click(object sender, RoutedEventArgs e)
        {
            ffmpegEngine.StopConversion();
            await mediaElementConverted.Close();

            await mediaElementOriginal.Close();

            if (Directory.Exists($"{Environment.CurrentDirectory}\\temp"))
            {
                Directory.Delete($"{Environment.CurrentDirectory}\\temp", true);
            }
            Close();
        }
Example #2
0
 private void ButtonClose_Click(object sender, RoutedEventArgs e)
 {
     ffmpegEngine.StopConversion();
     Close();
 }