diff options
author | sr55 <[email protected]> | 2010-08-27 19:32:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-08-27 19:32:25 +0000 |
commit | 2bc197b2073a28497175e98d0bf6ee0b52652ca0 (patch) | |
tree | 0b5f0023a2afccdb731ee8ea559c946a0b74a639 /win/C#/Controls/x264Panel.cs | |
parent | e97e93ae2745f67d0557f12129888b2e322d78be (diff) |
WinGui:
- Allow trellis and psy-trellis with cavlc
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3495 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls/x264Panel.cs')
-rw-r--r-- | win/C#/Controls/x264Panel.cs | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/win/C#/Controls/x264Panel.cs b/win/C#/Controls/x264Panel.cs index b15bf195d..1abc1b6ef 100644 --- a/win/C#/Controls/x264Panel.cs +++ b/win/C#/Controls/x264Panel.cs @@ -925,27 +925,6 @@ namespace Handbrake.Controls lbl_adaptBFrames.Visible = true;
}
break;
- case "cabac":
- if (check_Cabac.Checked == false)
- {
- /* Without CABAC entropy coding, trellis doesn't run. */
- drop_trellis.Visible = false;
- drop_trellis.SelectedIndex = 0;
- lbl_trellis.Visible = false;
-
- slider_psytrellis.Visible = false;
- lbl_psytrellis.Visible = false;
- slider_psytrellis.Value = 0;
- }
- else
- {
- drop_trellis.Visible = true;
- lbl_trellis.Visible = true;
-
- slider_psytrellis.Visible = true;
- lbl_psytrellis.Visible = true;
- }
- break;
case "me": // Motion Estimation
if (drop_MotionEstimationMethod.SelectedIndex < 3)
{
@@ -976,7 +955,7 @@ namespace Handbrake.Controls slider_psyrd.Visible = true;
lbl_psyrd.Visible = true;
- if (drop_trellis.SelectedIndex >= 2 && check_Cabac.Checked && slider_psytrellis.Visible == false)
+ if (drop_trellis.SelectedIndex >= 2 && slider_psytrellis.Visible == false)
{
slider_psytrellis.Visible = true;
lbl_psytrellis.Visible = true;
@@ -992,9 +971,7 @@ namespace Handbrake.Controls }
else
{
- if ((drop_subpixelMotionEstimation.SelectedIndex == 0 ||
- drop_subpixelMotionEstimation.SelectedIndex >= 7) && check_Cabac.Checked &&
- slider_psytrellis.Visible == false)
+ if ((drop_subpixelMotionEstimation.SelectedIndex == 0 || drop_subpixelMotionEstimation.SelectedIndex >= 7) && slider_psytrellis.Visible == false)
{
slider_psytrellis.Visible = true;
lbl_psytrellis.Visible = true;
|