summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-05-14 19:48:54 +0000
committersr55 <[email protected]>2014-05-14 19:48:54 +0000
commit37848c2b97eda7b116a79d1b520377bd4978e6ba (patch)
treeeb4938c6d839ce87b20a5acf60e02fdf2b13be70 /win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
parentebb2651ca57744741810e870e3762f1ada2959e6 (diff)
WinGui: Fix up Pausing when using libhb encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6189 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
index 27e3b039d..608fd1476 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/LibEncode.cs
@@ -79,6 +79,11 @@ namespace HandBrake.ApplicationServices.Services
}
/// <summary>
+ /// Gets or sets IsPaused
+ /// </summary>
+ public bool IsPasued { get; private set; }
+
+ /// <summary>
/// Start with a LibHb EncodeJob Object
/// </summary>
/// <param name="job">
@@ -148,6 +153,7 @@ namespace HandBrake.ApplicationServices.Services
if (this.instance != null)
{
this.instance.PauseEncode();
+ this.IsPasued = true;
}
}
@@ -159,6 +165,7 @@ namespace HandBrake.ApplicationServices.Services
if (this.instance != null)
{
this.instance.ResumeEncode();
+ this.IsPasued = false;
}
}