summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Encode
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-19 21:55:29 +0000
committersr55 <[email protected]>2015-01-19 21:55:29 +0000
commit50445c5138c234e860dcf8b54134aa6668c896df (patch)
treea9f4215d3354b1d0c6bf7a8e5550d680d1d3b8c8 /win/CS/HandBrake.ApplicationServices/Services/Encode
parente92de31ae2e15317e95c5ecf13a2105916348881 (diff)
WinGui: Quick Fix for the batch encoding with libhb mode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6775 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Encode')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
index 516be8932..0ed17fb51 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/Encode/LibEncode.cs
@@ -137,7 +137,8 @@ namespace HandBrake.ApplicationServices.Services.Encode
HandBrakeUtils.SetDvdNav(!job.Configuration.IsDvdNavDisabled);
ServiceLogMessage("Scanning title for encoding ... ");
- this.instance.StartScan(job.Task.Source, job.Configuration.PreviewScanCount, job.Task.Title);
+
+ this.instance.StartScan(job.ScannedSource.ScanPath, job.Configuration.PreviewScanCount, job.Task.Title);
}
catch (Exception exc)
{
@@ -224,9 +225,9 @@ namespace HandBrake.ApplicationServices.Services.Encode
Interop.Model.Scan.Title scannedTitle = new Interop.Model.Scan.Title
{
Resolution = new Size(title.Resolution.Width, title.Resolution.Height),
- ParVal = new Size(title.ParVal.Width, title.ParVal.Height),
- FramerateDenominator = title.FramerateDenominator,
- FramerateNumerator = title.FramerateNumerator,
+ ParVal = new Size(title.ParVal.Width, title.ParVal.Height),
+ FramerateDenominator = title.FramerateDenominator,
+ FramerateNumerator = title.FramerateNumerator,
};
// TODO fix this tempory hack to pass in the required title information into the factory.