diff options
author | sr55 <[email protected]> | 2015-02-07 15:45:02 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-02-07 15:45:02 +0000 |
commit | f9d51a06728fd37a9f06ef0086ff8ba4c4fdf418 (patch) | |
tree | 3dee9c69c4434933988d5ebe6b0a2acaec85545f /win/CS/HandBrake.ApplicationServices | |
parent | 7e2a8accddcfda0a2a4514209afb5cf2054dd9b1 (diff) |
WinGui: Advanced tab now correctly overrides video tab options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6877 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs index 7e5a2e5c0..141af6b55 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs @@ -209,7 +209,8 @@ namespace HandBrake.ApplicationServices.Utilities job.UseDefaultChapterNames = work.IncludeChapterMarkers;
// Advanced Settings
- job.VideoOptions = work.ShowAdvancedTab ? work.AdvancedEncoderOptions : work.ExtraAdvancedArguments;
+ job.VideoOptions = work.ExtraAdvancedArguments;
+ job.AdvancedOptions = work.ShowAdvancedTab ? work.AdvancedEncoderOptions : string.Empty;
// Subtitles
job.Subtitles = new Subtitles { SourceSubtitles = new List<SourceSubtitle>(), SrtSubtitles = new List<SrtSubtitle>() };
|