summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-02-07 15:45:02 +0000
committersr55 <[email protected]>2015-02-07 15:45:02 +0000
commitf9d51a06728fd37a9f06ef0086ff8ba4c4fdf418 (patch)
tree3dee9c69c4434933988d5ebe6b0a2acaec85545f /win/CS/HandBrake.ApplicationServices/Utilities
parent7e2a8accddcfda0a2a4514209afb5cf2054dd9b1 (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/Utilities')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/InteropModelCreator.cs3
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>() };