summaryrefslogtreecommitdiffstats
path: root/win/C#/frmPreview.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-12-04 16:27:02 +0000
committersr55 <[email protected]>2009-12-04 16:27:02 +0000
commit986cc6b7c95aea65e5f828b3d1fd6acbd817be43 (patch)
treebe22c3c1189b4419291451c73b8192a457160a30 /win/C#/frmPreview.cs
parent7fcdab64f2b7c161b19b8cd0250cfbb799729759 (diff)
WinGui:
- Implement new option: "--previews" allowing a range of 10 to 30 to be selected on the preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3001 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmPreview.cs')
-rw-r--r--win/C#/frmPreview.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/C#/frmPreview.cs b/win/C#/frmPreview.cs
index 24a191463..cd09df6e7 100644
--- a/win/C#/frmPreview.cs
+++ b/win/C#/frmPreview.cs
@@ -35,6 +35,10 @@ namespace Handbrake
this.mainWindow = mw;
cb_preview.SelectedIndex = 0;
cb_duration.SelectedIndex = 1;
+
+ cb_preview.Items.Clear();
+ for (int i = 1; i <= Properties.Settings.Default.previewScanCount; i++)
+ cb_preview.Items.Add(i.ToString());
}
#region Encode Sample