summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/C#/frmMain.Designer.cs16
-rw-r--r--win/C#/frmMain.cs1
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;