diff options
author | sr55 <[email protected]> | 2010-07-03 16:38:58 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-07-03 16:38:58 +0000 |
commit | 4813f1cf12793faed41951e0e4a195332f97ddcd (patch) | |
tree | 74af059ceecb2986cc2cc815f15e07cc3cea2181 /win/C#/frmPreview.cs | |
parent | 2c796d86cf24e15f10f20680f4c8f89628f25418 (diff) |
WinGui:
- Refactored The Query Generator to allow for more control on the AddPreset Window.
- Also fix an issue where an empty x264 query would still result in -x being added to the query.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3423 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmPreview.cs')
-rw-r--r-- | win/C#/frmPreview.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/frmPreview.cs b/win/C#/frmPreview.cs index 2c9e6c87d..a5bf3310e 100644 --- a/win/C#/frmPreview.cs +++ b/win/C#/frmPreview.cs @@ -219,7 +219,7 @@ namespace Handbrake this.Text += " (Encoding)";
int duration;
int.TryParse(cb_duration.Text, out duration);
- string query = QueryGenerator.GenerateCliQuery(this.mainWindow, 3, duration, cb_preview.Text);
+ string query = QueryGenerator.GeneratePreviewQuery(this.mainWindow, duration, cb_preview.Text);
ThreadPool.QueueUserWorkItem(this.CreatePreview, query);
}
@@ -271,7 +271,7 @@ namespace Handbrake this.Text += " (Encoding)";
int duration;
int.TryParse(cb_duration.Text, out duration);
- string query = QueryGenerator.GenerateCliQuery(this.mainWindow, 3, duration, cb_preview.Text);
+ string query = QueryGenerator.GeneratePreviewQuery(this.mainWindow, duration, cb_preview.Text);
ThreadPool.QueueUserWorkItem(this.CreatePreview, query);
}
|