summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-01-07 19:58:01 +0000
committersr55 <[email protected]>2017-01-07 19:58:01 +0000
commit12ba2764808c738cce98fea70b605aabc3459820 (patch)
tree4d97a81fc309ce510ddb25aa9c359e76839c18c4 /win/CS
parent5a68b81a051564097a03fb12373a593ce4f24fc0 (diff)
WinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where reloading the queue would result in this setting being ignored.
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
index 58505659b..d8f25373a 100644
--- a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
+++ b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs
@@ -75,6 +75,8 @@ namespace HandBrakeWPF.Services.Encode
// Setup the HandBrake Instance
this.log.Reset(); // Reset so we have a clean log for the start of the encode.
this.ServiceLogMessage("Starting Encode ...");
+
+ HandBrakeUtils.SetDvdNav(!configuration.IsDvdNavDisabled);
this.instance = task.IsPreviewEncode ? HandBrakeInstanceManager.GetPreviewInstance(configuration.Verbosity) : HandBrakeInstanceManager.GetEncodeInstance(configuration.Verbosity);
this.instance.EncodeCompleted += this.InstanceEncodeCompleted;