summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-12-03 20:42:25 +0000
committersr55 <[email protected]>2011-12-03 20:42:25 +0000
commitc1f270b152db7a124b4664277c22996115836f81 (patch)
treec97d367985eba2263a0a33ae021d584bcada02a8 /win/CS/HandBrake.ApplicationServices/Functions
parentd23ce1929a4711f9153a27f39ac30f07a1b66acd (diff)
WinGui: (WPF) Further work hooking up the new main window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4372 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Functions')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs b/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs
index 47d68feab..ec42f9e4f 100644
--- a/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs
+++ b/win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs
@@ -7,6 +7,7 @@ namespace HandBrake.ApplicationServices.Functions
{
using System;
using System.Collections.Generic;
+ using System.Linq;
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Model.Encoding;
@@ -154,7 +155,7 @@ namespace HandBrake.ApplicationServices.Functions
job.FramesStart = work.StartPoint;
}
- job.CustomChapterNames = work.ChapterNames;
+ job.CustomChapterNames = work.ChapterNames.Select(item => item.ChapterName).ToList();
job.UseDefaultChapterNames = work.IncludeChapterMarkers;
job.OutputPath = work.Destination;