summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-03-16 19:48:02 +0000
committersr55 <[email protected]>2014-03-16 19:48:02 +0000
commitd6b1b9c0b12f4142357988f8eaffb3005ca81331 (patch)
tree82d33c7abc900904c9552e3cc299127917937cd8 /win/CS/HandBrake.ApplicationServices
parenteb6e020a90911b79ec8708a15b7d5c0fbc8d2576 (diff)
WinGui: Fix an issue with the preview scan count not being set correctly for libhb encode path.
Added Nightly appcast update checking functionality back in. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6117 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
index 57e4bfd71..27e3b039d 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
@@ -127,7 +127,7 @@ namespace HandBrake.ApplicationServices.Services
// We have to scan the source again but only the title so the HandBrake instance is initialised correctly.
// Since the UI sends the crop params down, we don't have to do all the previews.
- instance.StartScan(job.Task.Source, 1, job.Task.Title);
+ instance.StartScan(job.Task.Source, job.Configuration.PreviewScanCount, job.Task.Title);
instance.ScanCompleted += delegate
{
@@ -201,7 +201,7 @@ namespace HandBrake.ApplicationServices.Services
EncodeJob encodeJob = InteropModelCreator.GetEncodeJob(job);
// Start the Encode
- instance.StartEncode(encodeJob);
+ instance.StartEncode(encodeJob, job.Configuration.PreviewScanCount);
// Fire the Encode Started Event
this.InvokeEncodeStarted(EventArgs.Empty);