From 12ba2764808c738cce98fea70b605aabc3459820 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 7 Jan 2017 19:58:01 +0000 Subject: [PATCH] WinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where reloading the queue would result in this setting being ignored. --- win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.40.0