diff options
author | sr55 <[email protected]> | 2011-06-18 19:23:26 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-06-18 19:23:26 +0000 |
commit | 250bb8af4f93be8e10ca25983a0e02c9f3441117 (patch) | |
tree | bf399462f51be0e00283cae1a80a9e7b7cbb885d /win/CS/frmPreview.cs | |
parent | b957ee1aaba01b06d9f8b3f26e0385eba061baf2 (diff) |
WinGui: Fix Broken Preview Window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4062 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmPreview.cs')
-rw-r--r-- | win/CS/frmPreview.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/frmPreview.cs b/win/CS/frmPreview.cs index 5572cda23..c137262a9 100644 --- a/win/CS/frmPreview.cs +++ b/win/CS/frmPreview.cs @@ -187,8 +187,7 @@ namespace Handbrake return;
}
- QueueTask task = new QueueTask((string)state);
- encodeQueue.Start(task, false);
+ encodeQueue.Start((QueueTask)state, false);
}
#endregion
@@ -214,7 +213,8 @@ namespace Handbrake int duration;
int.TryParse(endPoint.Text, out duration);
string query = QueryGenerator.GeneratePreviewQuery(this.mainWindow, duration, startPoint.Text);
- ThreadPool.QueueUserWorkItem(this.CreatePreview, query);
+ QueueTask task = new QueueTask(query) { Destination = this.mainWindow.text_destination.Text };
+ ThreadPool.QueueUserWorkItem(this.CreatePreview, task);
}
/// <summary>
|