diff options
author | sr55 <[email protected]> | 2013-11-19 21:55:44 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-11-19 21:55:44 +0000 |
commit | f83ab26ab8e1d2ce277f0c12f23b5753bf63d763 (patch) | |
tree | f59a860b5a06effcdccc57dfa83629d171536864 /win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs | |
parent | ca8fe7c1fe8abf869d4c53e31124c5f0b1aa8dfa (diff) |
WinGui: Started work on API improvements in the Application services dll. Removing the concept of user settings and replacing it with a Configuration object.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5896 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs index f6da448ac..744bbc890 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs @@ -95,14 +95,11 @@ namespace HandBrake.ApplicationServices.Services /// <param name="job">
/// The job.
/// </param>
- /// <param name="enableLogging">
- /// The enable Logging.
- /// </param>
- public void Start(QueueTask job, bool enableLogging)
+ public void Start(QueueTask job)
{
// Setup
this.startTime = DateTime.Now;
- this.loggingEnabled = enableLogging;
+ this.loggingEnabled = job.Configuration.IsLoggingEnabled;
this.currentTask = job;
// Create a new HandBrake instance
@@ -123,7 +120,7 @@ namespace HandBrake.ApplicationServices.Services this.IsEncoding = true;
// Enable logging if required.
- if (enableLogging)
+ if (job.Configuration.IsLoggingEnabled)
{
try
{
|