diff options
author | sr55 <[email protected]> | 2015-01-27 20:45:39 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-27 20:45:39 +0000 |
commit | 11eabcf6e929b316ccc3509d73ab176beca2522f (patch) | |
tree | a0751b92315dc46365ada7655426dd8c66f6e48e /win/CS/HandBrake.ApplicationServices | |
parent | 7d5a3fe36e0ad67bbbfe1d074437501eb50503b7 (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')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs | 4 | ||||
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/Scan/Model/Title.cs | 6 |
2 files changed, 7 insertions, 3 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)
{
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Scan/Model/Title.cs b/win/CS/HandBrake.ApplicationServices/Services/Scan/Model/Title.cs index 1798b582a..cde8fece8 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Scan/Model/Title.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Scan/Model/Title.cs @@ -54,7 +54,11 @@ namespace HandBrake.ApplicationServices.Services.Scan.Model /// </summary>
public int TitleNumber { get; set; }
- public int RescanTitleNumber { get; set; }
+ /// <summary>
+ /// Gets or sets the type.
+ /// HB_DVD_TYPE, HB_BD_TYPE, HB_STREAM_TYPE, HB_FF_STREAM_TYPE
+ /// </summary>
+ public int Type { get; set; }
/// <summary>
/// Gets or sets Playlist.
|