summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-27 20:45:39 +0000
committersr55 <[email protected]>2015-01-27 20:45:39 +0000
commit11eabcf6e929b316ccc3509d73ab176beca2522f (patch)
treea0751b92315dc46365ada7655426dd8c66f6e48e /win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
parent7d5a3fe36e0ad67bbbfe1d074437501eb50503b7 (diff)
WinGui: Strip out some unused code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6821 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
index 42f72f509..6bc9ed884 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
@@ -138,7 +138,7 @@ namespace HandBrake.ApplicationServices.Services.Encode
ServiceLogMessage("Scanning title for encoding ... ");
- this.instance.StartScan(job.ScannedSourcePath, job.Configuration.PreviewScanCount, job.Task.Title);
+ this.instance.StartScan(job.ScannedSourcePath, job.Configuration.PreviewScanCount, TimeSpan.FromSeconds(job.Configuration.MinScanDuration), job.Task.Title);
}
catch (Exception exc)
{
@@ -234,7 +234,7 @@ namespace HandBrake.ApplicationServices.Services.Encode
try
{
ServiceLogMessage("Starting Encode ...");
- instance.StartEncode(encodeJob, scannedTitle, job.Configuration.PreviewScanCount);
+ instance.StartEncode(encodeJob, scannedTitle);
}
catch (Exception exc)
{