diff --git a/HardSubberGUI/HardSubberGUI.csproj b/HardSubberGUI/HardSubberGUI.csproj index e3166c3..2941085 100644 --- a/HardSubberGUI/HardSubberGUI.csproj +++ b/HardSubberGUI/HardSubberGUI.csproj @@ -8,8 +8,8 @@ copyused true 1.0.1 - 1.6.1.0 - 1.6.1.0 + 1.6.2.0 + 1.6.2.0 diff --git a/HardSubberGUI/Tools.cs b/HardSubberGUI/Tools.cs index be13539..4f57cde 100644 --- a/HardSubberGUI/Tools.cs +++ b/HardSubberGUI/Tools.cs @@ -340,8 +340,7 @@ public static void ActFile(string file, SConversionOptions conversionOptions, in process.StartInfo.Arguments += "-c:v libx264 "; } - if (conversionOptions.BurnSubsAndAudio) - process.StartInfo.Arguments += $"-map 0:a:{conversionOptions.AudioIndex} "; + process.StartInfo.Arguments += $"-map 0:a:{conversionOptions.AudioIndex} "; process.StartInfo.Arguments += $"-qp {conversionOptions.Quality} "; diff --git a/HardSubberGUI/ViewModels/MainWindowViewModel.cs b/HardSubberGUI/ViewModels/MainWindowViewModel.cs index 441e46e..f5fb779 100644 --- a/HardSubberGUI/ViewModels/MainWindowViewModel.cs +++ b/HardSubberGUI/ViewModels/MainWindowViewModel.cs @@ -58,7 +58,7 @@ public class MainWindowViewModel : ViewModelBase public static string MetadataTitle => "Set Metadata Title"; public static string FastStart => "Optimize for Web"; public static string PGSSubs => "PGS Subtitles"; - public static string Subs => "Burn Subtitles and Audio"; + public static string Subs => "Burn Subtitles"; public static string Resize => "Resize Video"; public static string Colorspace => "Reset Colorspace"; public static string ExitAfterwards => "Close after conversion"; diff --git a/HardSubberGUI/Views/MainWindow.axaml.cs b/HardSubberGUI/Views/MainWindow.axaml.cs index 8713fcc..9f0e9e4 100644 --- a/HardSubberGUI/Views/MainWindow.axaml.cs +++ b/HardSubberGUI/Views/MainWindow.axaml.cs @@ -92,7 +92,6 @@ private void ApplySubsControl_OnPropertyChanged(object? sender, AvaloniaProperty return; SubtitleIndexControl.IsEnabled = (bool)ApplySubsControl.IsChecked! && !(bool)ExternalSubsControl.IsChecked!; - AudioIndexControl.IsEnabled = (bool)ApplySubsControl.IsChecked!; ExternalSubsControl.IsEnabled = (bool)ApplySubsControl.IsChecked! && !(bool)PGSSubsControl.IsChecked!;