diff --git a/NotEnoughAV1Encodes/MainWindow.xaml.cs b/NotEnoughAV1Encodes/MainWindow.xaml.cs index 27ac3c3..9a9c0f5 100644 --- a/NotEnoughAV1Encodes/MainWindow.xaml.cs +++ b/NotEnoughAV1Encodes/MainWindow.xaml.cs @@ -389,7 +389,8 @@ private void ButtonSetDestination_Click(object sender, RoutedEventArgs e) videoDB.OutputFileName = Path.GetFileName(videoDB.OutputPath); try { - if (Path.GetExtension(videoDB.OutputPath).ToLower() == ".mp4") + if (Path.GetExtension(videoDB.OutputPath).ToLower() == ".mp4" || + Path.GetExtension(videoDB.OutputPath).ToLower() == ".webm") { // Disable Subtitles if Output is MP4 foreach (Subtitle.SubtitleTracks subtitleTracks in ListBoxSubtitleTracks.Items)