From 83af0dca6f4ecc16d5a4dcc6b6ccd97b707f7156 Mon Sep 17 00:00:00 2001 From: sr55 Date: Tue, 25 Sep 2012 15:23:17 +0000 Subject: WinGui: LibHb Encode and Scan support (off by default for the moment until I have time to test this and tidy up some of the code) Can be turned on in preferences. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4980 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs index bbb085916..29eba5172 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs @@ -43,7 +43,7 @@ namespace HandBrake.ApplicationServices.Services /// /// Services are not setup /// - public QueueProcessor(IQueueManager queueManager, IEncode encodeService, IUserSettingService userSettingService) + public QueueProcessor(IQueueManager queueManager, IEncodeServiceWrapper encodeService, IUserSettingService userSettingService) { this.userSettingService = userSettingService; this.QueueManager = queueManager; @@ -147,7 +147,7 @@ namespace HandBrake.ApplicationServices.Services /// /// Gets the IEncodeService instance. /// - public IEncode EncodeService { get; private set; } + public IEncodeServiceWrapper EncodeService { get; private set; } /// /// Gets the IQueueManager instance. @@ -188,7 +188,7 @@ namespace HandBrake.ApplicationServices.Services /// /// The service. /// - public void SwapEncodeService(IEncode service) + public void SwapEncodeService(IEncodeServiceWrapper service) { this.EncodeService = service; } @@ -260,8 +260,8 @@ namespace HandBrake.ApplicationServices.Services QueueTask job = this.QueueManager.GetNextJobForProcessing(); if (job != null) { - this.EncodeService.Start(job, true); this.InvokeJobProcessingStarted(new QueueProgressEventArgs(job)); + this.EncodeService.Start(job, true); } else { -- cgit v1.2.3