]> granicus.if.org Git - handbrake/commitdiff
WinGui: Fix an filepath issue in libhb scan service.
authorsr55 <sr55.hb@outlook.com>
Sun, 1 Apr 2012 16:49:21 +0000 (16:49 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 1 Apr 2012 16:49:21 +0000 (16:49 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4577 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/CS/HandBrake.ApplicationServices/Services/LibScan.cs

index 2a5726ef0710a9e02f90f5330062d89df51fe688..70a44ca56219d5934ab868dd1426dd3869718c46 100644 (file)
@@ -195,9 +195,9 @@ namespace HandBrake.ApplicationServices.Services
                     this.ScanStared(this, new EventArgs());\r
 \r
                 if (title != 0)\r
-                    instance.StartScan(source, previewCount, title);\r
+                    instance.StartScan(sourcePath.ToString(), previewCount, title);\r
                 else\r
-                    instance.StartScan(source, previewCount);\r
+                    instance.StartScan(sourcePath.ToString(), previewCount);\r
             }\r
             catch (Exception exc)\r
             {\r