diff options
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/Controls/x264Panel.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/C#/Controls/x264Panel.cs b/win/C#/Controls/x264Panel.cs index 53d420ba6..8d223f6ab 100644 --- a/win/C#/Controls/x264Panel.cs +++ b/win/C#/Controls/x264Panel.cs @@ -237,7 +237,11 @@ namespace Handbrake.Controls check_noDCTDecimate.CheckState = CheckState.Checked;
continue;
case "subq":
- drop_subpixelMotionEstimation.SelectedItem = optValue;
+ int subqValue;
+ if (int.TryParse(optValue, out subqValue))
+ {
+ drop_subpixelMotionEstimation.SelectedIndex = subqValue + 1;
+ }
continue;
case "trellis":
switch (optValue)
|