diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs index 3b9e01280..f3ff75fcc 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs @@ -169,6 +169,17 @@ namespace HandBrakeWPF.Services.Encode } } + public EncodeTask GetActiveJob() + { + if (this.currentTask != null) + { + EncodeTask task = new EncodeTask(this.currentTask); // Decouple our current copy. + return task; + } + + return null; + } + #region HandBrakeInstance Event Handlers. /// <summary> |