diff options
author | sr55 <[email protected]> | 2012-04-28 23:13:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-04-28 23:13:25 +0000 |
commit | 78a297cb5580f37bca62cd660d3a04a72bcf7681 (patch) | |
tree | d77ab7777359bdd002c0c26522c5815d70a53abf | |
parent | f2e4cb9727412a6f50f6be725ffb59695a85700b (diff) |
WinGui: Fix Preview Window Play button crash.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4611 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs index 6848ce3ab..0fce6eaeb 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs @@ -39,6 +39,10 @@ namespace HandBrake.ApplicationServices.Model public QueueTask(string query)
{
this.Query = query;
+ if (this.Task == null)
+ {
+ this.Task = new EncodeTask();
+ }
}
#endregion
|