summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-04-06 15:45:15 +0000
committersr55 <[email protected]>2009-04-06 15:45:15 +0000
commitefdb3df837cad689e215fdaed6758cd125040edf (patch)
treef8c3478b85dffadc00de3e917f0f2225ccecd4ca /win/C#/frmMain.cs
parentb9529164196f7268763ffbcf4b82ac52111010e1 (diff)
WinGui:
- Removes xvid encoder option. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2308 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs17
1 files changed, 1 insertions, 16 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index f1c6cf366..99a89b9f8 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -1083,12 +1083,6 @@ namespace Handbrake
slider_videoQuality.Value = 1;
SliderValue.Text = "0% QP: 31.00";
break;
- case "MPEG-4 (XviD)":
- slider_videoQuality.Minimum = 1;
- slider_videoQuality.Maximum = 31;
- slider_videoQuality.Value = 1;
- SliderValue.Text = "0% QP: 31.00";
- break;
case "H.264 (x264)":
slider_videoQuality.Minimum = 0;
slider_videoQuality.Value = 0;
@@ -1136,13 +1130,6 @@ namespace Handbrake
double val = ((max - min) - (rfValue - min)) / (max - min);
SliderValue.Text = Math.Round((val * 100), 2) + "% QP:" + (32 - slider_videoQuality.Value);
break;
- case "MPEG-4 (XviD)":
- rfValue = 31 - (slider_videoQuality.Value - 1);
- max = slider_videoQuality.Maximum;
- min = slider_videoQuality.Minimum;
- val = ((max - min) - (rfValue - min)) / (max - min);
- SliderValue.Text = Math.Round((val * 100), 2) + "% QP:" + (32 - slider_videoQuality.Value);
- break;
case "H.264 (x264)":
double divided;
System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
@@ -1824,10 +1811,9 @@ namespace Handbrake
oldval = drp_videoEncoder.Text;
drp_videoEncoder.Items.Clear();
drp_videoEncoder.Items.Add("MPEG-4 (FFmpeg)");
- drp_videoEncoder.Items.Add("MPEG-4 (XviD)");
drp_videoEncoder.Items.Add("H.264 (x264)");
if (oldval == "VP3 (Theora)")
- drp_videoEncoder.SelectedIndex = 2;
+ drp_videoEncoder.SelectedIndex = 1;
else
drp_videoEncoder.Text = oldval;
@@ -1837,7 +1823,6 @@ namespace Handbrake
oldval = drp_videoEncoder.Text;
drp_videoEncoder.Items.Clear();
drp_videoEncoder.Items.Add("MPEG-4 (FFmpeg)");
- drp_videoEncoder.Items.Add("MPEG-4 (XviD)");
drp_videoEncoder.Items.Add("H.264 (x264)");
drp_videoEncoder.Items.Add("VP3 (Theora)");
drp_videoEncoder.Text = oldval;