From: sr55 Date: Sat, 7 Jan 2017 19:58:01 +0000 (+0000) Subject: WinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where... X-Git-Tag: 1.0.2~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=335775ce02852c0ebf7cdaf23596b607d4522f5f;p=handbrake WinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where reloading the queue would result in this setting being ignored. --- 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;