diff --git a/NotEnoughAV1Encodes/MainWindow.xaml.cs b/NotEnoughAV1Encodes/MainWindow.xaml.cs index e9eb0df..7fb8d2f 100644 --- a/NotEnoughAV1Encodes/MainWindow.xaml.cs +++ b/NotEnoughAV1Encodes/MainWindow.xaml.cs @@ -363,6 +363,16 @@ private void SingleFileInput(string path) } } LabelVideoFramerate.Content = videoDB.MIFramerate + vfr; + + // Output + if (!string.IsNullOrEmpty(settingsDB.DefaultOutPath)) + { + string outPath = Path.Combine(settingsDB.DefaultOutPath, Path.GetFileNameWithoutExtension(videoDB.InputPath) + ".mkv"); + + videoDB.OutputPath = outPath; + LabelVideoDestination.Content = videoDB.OutputPath; + videoDB.OutputFileName = Path.GetFileName(videoDB.OutputPath); + } } private void ButtonSetDestination_Click(object sender, RoutedEventArgs e) diff --git a/NotEnoughAV1Encodes/NotEnoughAV1Encodes.csproj b/NotEnoughAV1Encodes/NotEnoughAV1Encodes.csproj index 85f8cbf..de99b88 100644 --- a/NotEnoughAV1Encodes/NotEnoughAV1Encodes.csproj +++ b/NotEnoughAV1Encodes/NotEnoughAV1Encodes.csproj @@ -6,7 +6,7 @@ true true resources\img\neav1e.ico - 2.0.6 + 2.0.7 Alkl58 diff --git a/NotEnoughAV1Encodes/Views/ProgramSettings.xaml b/NotEnoughAV1Encodes/Views/ProgramSettings.xaml index b1c6ee3..d0d5104 100644 --- a/NotEnoughAV1Encodes/Views/ProgramSettings.xaml +++ b/NotEnoughAV1Encodes/Views/ProgramSettings.xaml @@ -10,13 +10,13 @@ lex:LocalizeDictionary.DesignCulture="en" lex:ResxLocalizationProvider.DefaultAssembly="NotEnoughAV1Encodes" lex:ResxLocalizationProvider.DefaultDictionary="Strings" - Title="{lex:Loc ProgramSettings}" Height="450" Width="800" ResizeMode="NoResize" Closing="MetroWindow_Closing" mah:ControlsHelper.ContentCharacterCasing="Normal"> + Title="{lex:Loc ProgramSettings}" Height="530" Width="800" ResizeMode="NoResize" Closing="MetroWindow_Closing" mah:ControlsHelper.ContentCharacterCasing="Normal">