summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-06-18 19:19:35 +0000
committersr55 <[email protected]>2010-06-18 19:19:35 +0000
commitd514009752e382a26387f14314f1f643bbac333e (patch)
tree5ccd7ef62391b6c09578a4597fd4d883be891f0b /win/C#/frmMain.cs
parent52cc84bfac801b89127403139a3cd67d786700c5 (diff)
WinGui:
- Updates to the x264 panel. - Added a Peak Framerate checkbox (--pfr cli option) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3388 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs30
1 files changed, 24 insertions, 6 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index 520bbf4fa..ee7df2159 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -149,8 +149,8 @@ namespace Handbrake
PresetLoader.LoadPreset(this, presetQuery, Properties.Settings.Default.defaultPreset,
presetHandler.GetPreset(Properties.Settings.Default.defaultPreset).PictureSettings);
- x264Panel.X264_StandardizeOptString();
- x264Panel.X264_SetCurrentSettingsInPanel();
+ x264Panel.StandardizeOptString();
+ x264Panel.SetCurrentSettingsInPanel();
}
}
else
@@ -866,8 +866,8 @@ namespace Handbrake
PresetLoader.LoadPreset(this, presetQuery, presetName, loadPictureSettings);
// The x264 widgets will need updated, so do this now:
- x264Panel.X264_StandardizeOptString();
- x264Panel.X264_SetCurrentSettingsInPanel();
+ x264Panel.StandardizeOptString();
+ x264Panel.SetCurrentSettingsInPanel();
// Finally, let this window have a copy of the preset settings.
CurrentlySelectedPreset = preset;
@@ -1739,6 +1739,24 @@ namespace Handbrake
}
/// <summary>
+ /// When the FrameRate is not Same As Source, show the Max/Constant Mode dropdown
+ /// </summary>
+ /// <param name="sender">
+ /// The sender.
+ /// </param>
+ /// <param name="e">
+ /// The e.
+ /// </param>
+ private void drp_videoFramerate_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (this.drp_videoFramerate.SelectedIndex == 0)
+ {
+ this.checkMaximumFramerate.Visible = false;
+ this.checkMaximumFramerate.CheckState = CheckState.Unchecked;
+ }
+ }
+
+ /// <summary>
/// Set the container format options
/// </summary>
public void setContainerOpts()
@@ -2167,8 +2185,8 @@ namespace Handbrake
PresetLoader.LoadPreset(this, presetQuery, "Load Back From Queue", true);
// The x264 widgets will need updated, so do this now:
- x264Panel.X264_StandardizeOptString();
- x264Panel.X264_SetCurrentSettingsInPanel();
+ x264Panel.StandardizeOptString();
+ x264Panel.SetCurrentSettingsInPanel();
// Finally, let this window have a copy of the preset settings.
CurrentlySelectedPreset = null;