diff options
author | sr55 <[email protected]> | 2011-01-03 15:08:29 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-01-03 15:08:29 +0000 |
commit | dede97c0e2bd0dd73ba56e7d2013bcbb3e7389ef (patch) | |
tree | 7d3a6d73c07601bec8df0924354c5ed09a1eec0b | |
parent | 831f031de72b4e36fa77b7c4e2554d06b7e94f88 (diff) |
WinGui:
- Added warning label when RF0 is selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3728 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | win/C#/frmMain.Designer.cs | 16 | ||||
-rw-r--r-- | win/C#/frmMain.cs | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs index 16f6979a8..aa4f207b8 100644 --- a/win/C#/frmMain.Designer.cs +++ b/win/C#/frmMain.Designer.cs @@ -114,6 +114,7 @@ namespace Handbrake this.AudioSettings = new Handbrake.Controls.AudioPanel();
this.AudioMenuRowHeightHack = new System.Windows.Forms.ImageList(this.components);
this.tab_video = new System.Windows.Forms.TabPage();
+ this.lbl_rfwarn = new System.Windows.Forms.Label();
this.checkMaximumFramerate = new System.Windows.Forms.CheckBox();
this.radio_cq = new System.Windows.Forms.RadioButton();
this.radio_avgBitrate = new System.Windows.Forms.RadioButton();
@@ -956,6 +957,7 @@ namespace Handbrake // tab_video
//
this.tab_video.BackColor = System.Drawing.Color.Transparent;
+ this.tab_video.Controls.Add(this.lbl_rfwarn);
this.tab_video.Controls.Add(this.checkMaximumFramerate);
this.tab_video.Controls.Add(this.drp_videoFramerate);
this.tab_video.Controls.Add(this.radio_cq);
@@ -980,6 +982,19 @@ namespace Handbrake this.tab_video.Text = "Video";
this.tab_video.UseVisualStyleBackColor = true;
//
+ // lbl_rfwarn
+ //
+ this.lbl_rfwarn.AutoSize = true;
+ this.lbl_rfwarn.BackColor = System.Drawing.Color.Transparent;
+ this.lbl_rfwarn.ForeColor = System.Drawing.Color.Red;
+ this.lbl_rfwarn.Location = new System.Drawing.Point(385, 165);
+ this.lbl_rfwarn.Name = "lbl_rfwarn";
+ this.lbl_rfwarn.Size = new System.Drawing.Size(321, 39);
+ this.lbl_rfwarn.TabIndex = 20;
+ this.lbl_rfwarn.Text = "RF:0 is x264\'s lossless mode.\r\nThis will result in a very large output which may " +
+ "not be compatible\r\nwith your playback software.";
+ this.lbl_rfwarn.Visible = false;
+ //
// checkMaximumFramerate
//
this.checkMaximumFramerate.AutoSize = true;
@@ -1922,5 +1937,6 @@ namespace Handbrake private ToolStripMenuItem btnTitleSpecific;
private ToolStripMenuItem FileTitleSpecificScan;
private ToolStripMenuItem FolderTitleSpecificScan;
+ internal Label lbl_rfwarn;
}
}
\ No newline at end of file diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 1f2e15bfa..bc56731e9 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1977,6 +1977,7 @@ namespace Handbrake double rfValue = 51.0 - slider_videoQuality.Value * cqStep;
rfValue = Math.Round(rfValue, 2);
lbl_SliderValue.Text = "RF:" + rfValue.ToString(new CultureInfo("en-US"));
+ this.lbl_rfwarn.Visible = rfValue == 0;
break;
case "VP3 (Theora)":
lbl_SliderValue.Text = "QP:" + slider_videoQuality.Value;
|