summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 5bc79dec7..061a1e148 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -895,7 +895,7 @@ namespace HandBrakeWPF.ViewModels
QueueTask task = new QueueTask
{
Task = new EncodeTask(this.CurrentTask),
- Query = QueryGeneratorUtility.GenerateQuery(this.CurrentTask)
+ Query = QueryGeneratorUtility.GenerateQuery(new EncodeTask(this.CurrentTask))
};
this.queueProcessor.QueueManager.Add(task);
@@ -1044,8 +1044,8 @@ namespace HandBrakeWPF.ViewModels
// Create the Queue Task and Start Processing
QueueTask task = new QueueTask(null)
{
- Task = this.CurrentTask,
- Query = QueryGeneratorUtility.GenerateQuery(this.CurrentTask),
+ Task = new EncodeTask(this.CurrentTask),
+ Query = QueryGeneratorUtility.GenerateQuery(new EncodeTask(this.CurrentTask)),
CustomQuery = false
};
this.queueProcessor.QueueManager.Add(task);