From c1f270b152db7a124b4664277c22996115836f81 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 3 Dec 2011 20:42:25 +0000 Subject: 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 --- win/CS/HandBrake.ApplicationServices/Functions/InteropModelCreator.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'win/CS/HandBrake.ApplicationServices/Functions') 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; -- cgit v1.2.3