diff options
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.
|