diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/LibScan.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/LibScan.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs index 854a561bd..33459a0dd 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/LibScan.cs @@ -161,16 +161,14 @@ namespace HandBrake.ApplicationServices.Services {
try
{
- // TODO Support Preview Count
-
IsScanning = true;
if (this.ScanStared != null)
this.ScanStared(this, new EventArgs());
if (title != 0)
- instance.StartScan(sourcePath.ToString(), 10, title);
+ instance.StartScan(sourcePath.ToString(), previewCount, title);
else
- instance.StartScan(sourcePath.ToString(), 10);
+ instance.StartScan(sourcePath.ToString(), previewCount);
}
catch (Exception exc)
{
|