summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-03-02 19:38:24 +0000
committersr55 <[email protected]>2013-03-02 19:38:24 +0000
commit76d7ab1861dbc85eb3e8ad35d365a35b4b681a96 (patch)
tree4c56986f82d4336cce37960fc8be15969bb576d0 /win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
parent09843340c7c998e360bcc879674c0646f379077d (diff)
WinGui: Update the scan parser to handle the new scan progress meter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5283 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/ScanService.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/ScanService.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
index cc99b916b..40329f14d 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/ScanService.cs
@@ -370,12 +370,14 @@ namespace HandBrake.ApplicationServices.Services
/// <param name="sender">the sender</param>
/// <param name="currentTitle">the current title being scanned</param>
/// <param name="titleCount">the total number of titles</param>
- private void OnScanProgress(object sender, int currentTitle, int titleCount)
+ /// <param name="percentage">The Percentage</param>
+ private void OnScanProgress(object sender, int currentTitle, int titleCount, decimal percentage)
{
ScanProgressEventArgs eventArgs = new ScanProgressEventArgs
{
CurrentTitle = currentTitle,
- Titles = titleCount
+ Titles = titleCount,
+ Percentage = percentage
};
if (this.ScanStatusChanged != null)