summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Model
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs4
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