diff options
author | sr55 <[email protected]> | 2010-11-06 20:20:45 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-11-06 20:20:45 +0000 |
commit | d573f1a2e6e3a347e1bc9e6ff00d0d3f26605459 (patch) | |
tree | c1de240bf556afca67f4443d1407d23c2272a505 /win/C#/HandBrake.ApplicationServices/Services/Encode.cs | |
parent | a70ca6bf9e0550307244f436e85cb85587d7a012 (diff) |
WinGui:
- Remove the Caliburn / Service Locator references. Not going to put this in the upcoming release. No need to bloat the installer with the dlls when they are not currently used.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3652 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/HandBrake.ApplicationServices/Services/Encode.cs')
-rw-r--r-- | win/C#/HandBrake.ApplicationServices/Services/Encode.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs index a0340c656..11e896768 100644 --- a/win/C#/HandBrake.ApplicationServices/Services/Encode.cs +++ b/win/C#/HandBrake.ApplicationServices/Services/Encode.cs @@ -330,6 +330,11 @@ namespace HandBrake.ApplicationServices.Services /// </param>
private void HbProcess_Exited(object sender, EventArgs e)
{
+ if (HbProcess != null && HbProcess.ExitCode != 0)
+ {
+ errorService.ShowError("It appears that HandBrakeCLI has crashed. You can check the Activity Log for further information.", string.Format("Exit Code was: {0}", HbProcess.ExitCode));
+ }
+
IsEncoding = false;
if (this.EncodeEnded != null)
this.EncodeEnded(this, new EventArgs());
|