• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

githubのコードからのfolk


Commit MetaInfo

Revision524796a67b0bebe700a58b400f86c2b6c7038a5a (tree)
Time2010-10-10 23:12:22
Authorsr55 <sr55@b64f...>
Commitersr55

Log Message

WinGui:
- Add support for the new AC3 Encoder.

git-svn-id: svn://localhost/HandBrake/trunk@3595 b64f7644-9d1e-0410-96f1-a4d463321fa5

Change Summary

Incremental Difference

--- a/win/C#/Controls/AudioPanel.Designer.cs
+++ b/win/C#/Controls/AudioPanel.Designer.cs
@@ -59,13 +59,13 @@ namespace Handbrake.Controls
5959 this.AudioTrackGroup = new System.Windows.Forms.GroupBox();
6060 this.AudioMenuRowHeightHack = new System.Windows.Forms.ImageList(this.components);
6161 this.audioList = new System.Windows.Forms.DataGridView();
62- this.DRC = new System.Windows.Forms.DataGridViewTextBoxColumn();
63- this.Bitrate = new System.Windows.Forms.DataGridViewTextBoxColumn();
64- this.Samplerate = new System.Windows.Forms.DataGridViewTextBoxColumn();
65- this.Mixdown = new System.Windows.Forms.DataGridViewTextBoxColumn();
66- this.AudioCodec = new System.Windows.Forms.DataGridViewTextBoxColumn();
67- this.Source = new System.Windows.Forms.DataGridViewTextBoxColumn();
6862 this.Track = new System.Windows.Forms.DataGridViewTextBoxColumn();
63+ this.Source = new System.Windows.Forms.DataGridViewTextBoxColumn();
64+ this.AudioCodec = new System.Windows.Forms.DataGridViewTextBoxColumn();
65+ this.Mixdown = new System.Windows.Forms.DataGridViewTextBoxColumn();
66+ this.Samplerate = new System.Windows.Forms.DataGridViewTextBoxColumn();
67+ this.Bitrate = new System.Windows.Forms.DataGridViewTextBoxColumn();
68+ this.DRC = new System.Windows.Forms.DataGridViewTextBoxColumn();
6969 this.audioMenu.SuspendLayout();
7070 ((System.ComponentModel.ISupportInitialize)(this.tb_drc)).BeginInit();
7171 this.AudioTrackGroup.SuspendLayout();
@@ -166,7 +166,7 @@ namespace Handbrake.Controls
166166 this.tb_drc.Size = new System.Drawing.Size(57, 45);
167167 this.tb_drc.TabIndex = 60;
168168 this.tb_drc.TickFrequency = 10;
169- this.tb_drc.Scroll += new System.EventHandler(this.controlChanged);
169+ this.tb_drc.Scroll += new System.EventHandler(this.ControlChanged);
170170 //
171171 // label68
172172 //
@@ -227,12 +227,14 @@ namespace Handbrake.Controls
227227 "AAC (faac)",
228228 "MP3 (lame)",
229229 "Vorbis (vorbis)",
230- "AC3 Passthru"});
230+ "AC3 Passthru",
231+ "AC3 (ffmpeg)",
232+ "DTS Passthru"});
231233 this.drp_audioEncoder.Location = new System.Drawing.Point(215, 34);
232234 this.drp_audioEncoder.Name = "drp_audioEncoder";
233235 this.drp_audioEncoder.Size = new System.Drawing.Size(111, 21);
234236 this.drp_audioEncoder.TabIndex = 52;
235- this.drp_audioEncoder.SelectedIndexChanged += new System.EventHandler(this.controlChanged);
237+ this.drp_audioEncoder.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
236238 //
237239 // label27
238240 //
@@ -259,7 +261,7 @@ namespace Handbrake.Controls
259261 this.drp_audioMix.Name = "drp_audioMix";
260262 this.drp_audioMix.Size = new System.Drawing.Size(129, 21);
261263 this.drp_audioMix.TabIndex = 54;
262- this.drp_audioMix.SelectedIndexChanged += new System.EventHandler(this.controlChanged);
264+ this.drp_audioMix.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
263265 //
264266 // drp_audioTrack
265267 //
@@ -271,7 +273,7 @@ namespace Handbrake.Controls
271273 this.drp_audioTrack.Name = "drp_audioTrack";
272274 this.drp_audioTrack.Size = new System.Drawing.Size(194, 21);
273275 this.drp_audioTrack.TabIndex = 50;
274- this.drp_audioTrack.SelectedIndexChanged += new System.EventHandler(this.controlChanged);
276+ this.drp_audioTrack.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
275277 //
276278 // drp_audioBitrate
277279 //
@@ -292,7 +294,7 @@ namespace Handbrake.Controls
292294 this.drp_audioBitrate.Name = "drp_audioBitrate";
293295 this.drp_audioBitrate.Size = new System.Drawing.Size(70, 21);
294296 this.drp_audioBitrate.TabIndex = 58;
295- this.drp_audioBitrate.SelectedIndexChanged += new System.EventHandler(this.controlChanged);
297+ this.drp_audioBitrate.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
296298 //
297299 // drp_audioSample
298300 //
@@ -309,7 +311,7 @@ namespace Handbrake.Controls
309311 this.drp_audioSample.Name = "drp_audioSample";
310312 this.drp_audioSample.Size = new System.Drawing.Size(55, 21);
311313 this.drp_audioSample.TabIndex = 56;
312- this.drp_audioSample.SelectedIndexChanged += new System.EventHandler(this.controlChanged);
314+ this.drp_audioSample.SelectedIndexChanged += new System.EventHandler(this.ControlChanged);
313315 //
314316 // AudioTrackGroup
315317 //
@@ -371,32 +373,29 @@ namespace Handbrake.Controls
371373 this.audioList.TabIndex = 67;
372374 this.audioList.SelectionChanged += new System.EventHandler(this.audioList_SelectionChanged);
373375 //
374- // DRC
376+ // Track
375377 //
376- this.DRC.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
377- this.DRC.FillWeight = 96.36334F;
378- this.DRC.HeaderText = "DRC";
379- this.DRC.Name = "DRC";
380- this.DRC.ReadOnly = true;
381- this.DRC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
378+ this.Track.FillWeight = 304.2808F;
379+ this.Track.HeaderText = "Track";
380+ this.Track.Name = "Track";
381+ this.Track.ReadOnly = true;
382+ this.Track.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
383+ this.Track.Width = 50;
382384 //
383- // Bitrate
385+ // Source
384386 //
385- this.Bitrate.FillWeight = 49.69727F;
386- this.Bitrate.HeaderText = "Bitrate";
387- this.Bitrate.Name = "Bitrate";
388- this.Bitrate.ReadOnly = true;
389- this.Bitrate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
390- this.Bitrate.Width = 75;
387+ this.Source.FillWeight = 49.69727F;
388+ this.Source.HeaderText = "Source";
389+ this.Source.Name = "Source";
390+ this.Source.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
391+ this.Source.Width = 150;
391392 //
392- // Samplerate
393+ // AudioCodec
393394 //
394- this.Samplerate.FillWeight = 49.69727F;
395- this.Samplerate.HeaderText = "Samplerate";
396- this.Samplerate.Name = "Samplerate";
397- this.Samplerate.ReadOnly = true;
398- this.Samplerate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
399- this.Samplerate.Width = 75;
395+ this.AudioCodec.HeaderText = "Audio Codec";
396+ this.AudioCodec.Name = "AudioCodec";
397+ this.AudioCodec.ReadOnly = true;
398+ this.AudioCodec.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
400399 //
401400 // Mixdown
402401 //
@@ -407,29 +406,32 @@ namespace Handbrake.Controls
407406 this.Mixdown.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
408407 this.Mixdown.Width = 150;
409408 //
410- // AudioCodec
409+ // Samplerate
411410 //
412- this.AudioCodec.HeaderText = "Audio Codec";
413- this.AudioCodec.Name = "AudioCodec";
414- this.AudioCodec.ReadOnly = true;
415- this.AudioCodec.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
411+ this.Samplerate.FillWeight = 49.69727F;
412+ this.Samplerate.HeaderText = "Samplerate";
413+ this.Samplerate.Name = "Samplerate";
414+ this.Samplerate.ReadOnly = true;
415+ this.Samplerate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
416+ this.Samplerate.Width = 75;
416417 //
417- // Source
418+ // Bitrate
418419 //
419- this.Source.FillWeight = 49.69727F;
420- this.Source.HeaderText = "Source";
421- this.Source.Name = "Source";
422- this.Source.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
423- this.Source.Width = 150;
420+ this.Bitrate.FillWeight = 49.69727F;
421+ this.Bitrate.HeaderText = "Bitrate";
422+ this.Bitrate.Name = "Bitrate";
423+ this.Bitrate.ReadOnly = true;
424+ this.Bitrate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
425+ this.Bitrate.Width = 75;
424426 //
425- // Track
427+ // DRC
426428 //
427- this.Track.FillWeight = 304.2808F;
428- this.Track.HeaderText = "Track";
429- this.Track.Name = "Track";
430- this.Track.ReadOnly = true;
431- this.Track.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
432- this.Track.Width = 50;
429+ this.DRC.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
430+ this.DRC.FillWeight = 96.36334F;
431+ this.DRC.HeaderText = "DRC";
432+ this.DRC.Name = "DRC";
433+ this.DRC.ReadOnly = true;
434+ this.DRC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
433435 //
434436 // AudioPanel
435437 //
--- a/win/C#/Controls/AudioPanel.cs
+++ b/win/C#/Controls/AudioPanel.cs
@@ -21,6 +21,11 @@ namespace Handbrake.Controls
2121 /// </summary>
2222 public partial class AudioPanel : UserControl
2323 {
24+
25+ private const string AC3Passthru = "AC3 Passthru";
26+
27+ private const string DTSPassthru = "DTS Passthru";
28+
2429 /// <summary>
2530 /// Initializes a new instance of the <see cref="AudioPanel"/> class.
2631 /// Create a new instance of the Audio Panel
@@ -55,32 +60,26 @@ namespace Handbrake.Controls
5560 public void SetContainer(string path)
5661 {
5762 string oldval = drp_audioEncoder.Text;
58- if ((path.Contains("MP4")) || (path.Contains("M4V")))
59- {
60- drp_audioEncoder.Items.Clear();
61- drp_audioEncoder.Items.Add("AAC (faac)");
62- drp_audioEncoder.Items.Add("MP3 (lame)");
63- drp_audioEncoder.Items.Add("AC3 Passthru");
64- if ((oldval != "AAC (faac)") && (oldval != "AC3 Passthru"))
65- drp_audioEncoder.SelectedIndex = 0;
66- else
67- drp_audioEncoder.SelectedItem = oldval;
68- }
69- else if (path.Contains("MKV"))
63+
64+ drp_audioEncoder.Items.Clear();
65+ drp_audioEncoder.Items.Add("AAC (faac)");
66+ drp_audioEncoder.Items.Add("MP3 (lame)");
67+ drp_audioEncoder.Items.Add(AC3Passthru);
68+ drp_audioEncoder.Items.Add("AC3 (ffmpeg)");
69+
70+ if (path.Contains("MKV"))
7071 {
71- drp_audioEncoder.Items.Clear();
72- drp_audioEncoder.Items.Add("AAC (faac)");
73- drp_audioEncoder.Items.Add("MP3 (lame)");
74- drp_audioEncoder.Items.Add("AC3 Passthru");
75- drp_audioEncoder.Items.Add("DTS Passthru");
72+ drp_audioEncoder.Items.Add(DTSPassthru);
7673 drp_audioEncoder.Items.Add("Vorbis (vorbis)");
77- drp_audioEncoder.SelectedItem = oldval;
78-
79- if (drp_audioEncoder.Text == string.Empty)
80- drp_audioEncoder.SelectedIndex = 0;
8174 }
8275
76+ if (!drp_audioEncoder.Text.Contains(oldval))
77+ drp_audioEncoder.SelectedIndex = 0;
78+ else
79+ drp_audioEncoder.SelectedItem = oldval;
80+
8381 // Make sure the table is updated with new audio codecs
82+ // Defaults to AAC encoding.
8483 foreach (DataGridViewRow row in audioList.Rows)
8584 {
8685 if (!drp_audioEncoder.Items.Contains(row.Cells[2].Value))
@@ -117,7 +116,7 @@ namespace Handbrake.Controls
117116 newTrack.Cells[2].Value = track.Encoder;
118117 newTrack.Cells[3].Value = track.MixDown;
119118 newTrack.Cells[4].Value = track.SampleRate;
120- newTrack.Cells[5].Value = track.Encoder.Contains("AC3") || track.Encoder.Contains("DTS") ? "Auto" : track.Bitrate;
119+ newTrack.Cells[5].Value = track.Encoder.Contains(AC3Passthru) || track.Encoder.Contains(DTSPassthru) ? "Auto" : track.Bitrate;
121120 newTrack.Cells[6].Value = track.DRC;
122121 AddTrackForPreset(newTrack);
123122 }
@@ -145,12 +144,6 @@ namespace Handbrake.Controls
145144 drp_audioTrack.Items.Clear();
146145 drp_audioTrack.Items.AddRange(selectedTitle.AudioTracks.ToArray());
147146
148- // Reset the Audio Track Selection to the first audio track of the source, or Audiomatic if that fails
149- foreach (DataGridViewRow row in this.audioList.Rows)
150- {
151- row.Cells[1].Value = "Automatic";
152- }
153-
154147 // Add any tracks the preset has, if there is a preset and no audio tracks in the list currently
155148 if (audioList.Rows.Count == 0 && preset != null)
156149 {
@@ -244,7 +237,7 @@ namespace Handbrake.Controls
244237 /// <param name="e">
245238 /// The e.
246239 /// </param>
247- private void controlChanged(object sender, EventArgs e)
240+ private void ControlChanged(object sender, EventArgs e)
248241 {
249242 Control ctl = (Control)sender;
250243
@@ -256,14 +249,14 @@ namespace Handbrake.Controls
256249 audioList.SelectedRows[0].Cells[1].Value = drp_audioTrack.Text;
257250
258251 // If the track isn't AC3, and the encoder is, change it.
259- if (audioList.SelectedRows[0].Cells[2].Value.ToString().Contains("AC3") && !audioList.SelectedRows[0].Cells[1].Value.ToString().Contains("AC3"))
252+ if (audioList.SelectedRows[0].Cells[2].Value.ToString().Contains(AC3Passthru) && !audioList.SelectedRows[0].Cells[1].Value.ToString().Contains("(AC3)"))
260253 {
261254 // Switch to AAC
262255 drp_audioEncoder.SelectedIndex = 0;
263256 }
264257
265258 // If the track isn't DTS, and the encoder is, change it.
266- if (audioList.SelectedRows[0].Cells[2].Value.ToString().Contains("DTS") && !audioList.SelectedRows[0].Cells[1].Value.ToString().Contains("DTS"))
259+ if (audioList.SelectedRows[0].Cells[2].Value.ToString().Contains(DTSPassthru) && !audioList.SelectedRows[0].Cells[1].Value.ToString().Contains("DTS"))
267260 {
268261 // Switch to AAC
269262 drp_audioEncoder.SelectedIndex = 0;
@@ -275,7 +268,7 @@ namespace Handbrake.Controls
275268 SetBitrate();
276269
277270 // Configure the widgets with values
278- if (drp_audioEncoder.Text.Contains("AC3") || drp_audioEncoder.Text.Contains("DTS"))
271+ if (drp_audioEncoder.Text.Contains(AC3Passthru) || drp_audioEncoder.Text.Contains(DTSPassthru))
279272 {
280273 drp_audioMix.Enabled =
281274 drp_audioBitrate.Enabled = drp_audioSample.Enabled = tb_drc.Enabled = false;
@@ -592,6 +585,7 @@ namespace Handbrake.Controls
592585 drp_audioBitrate.Items.Remove("320");
593586 drp_audioBitrate.Items.Remove("384");
594587 drp_audioBitrate.Items.Remove("448");
588+ drp_audioBitrate.Items.Remove("640");
595589 drp_audioBitrate.Items.Remove("768");
596590
597591 switch (drp_audioEncoder.Text)
@@ -605,12 +599,15 @@ namespace Handbrake.Controls
605599 case "Vorbis (vorbis)":
606600 max = 384;
607601 break;
608- case "AC3 Passthru":
602+ case "AC3 (ffmpeg)":
603+ max = 640;
604+ break;
605+ case AC3Passthru:
609606 drp_audioBitrate.Items.Add("Auto");
610607 drp_audioBitrate.SelectedItem = "Auto";
611608 drp_audioSample.SelectedItem = "Auto";
612609 break;
613- case "DTS Passthru":
610+ case DTSPassthru:
614611 drp_audioBitrate.Items.Add("Auto");
615612 drp_audioBitrate.SelectedItem = "Auto";
616613 drp_audioSample.SelectedItem = "Auto";
@@ -630,9 +627,14 @@ namespace Handbrake.Controls
630627 drp_audioBitrate.Items.Add("384");
631628 }
632629
633- if (max == 768)
630+ if (max >= 640)
634631 {
635632 drp_audioBitrate.Items.Add("448");
633+ drp_audioBitrate.Items.Add("640");
634+ }
635+
636+ if (max == 768)
637+ {
636638 drp_audioBitrate.Items.Add("768");
637639 }
638640
@@ -651,31 +653,35 @@ namespace Handbrake.Controls
651653 drp_audioMix.Items.Add("Dolby Surround");
652654 drp_audioMix.Items.Add("Dolby Pro Logic II");
653655 drp_audioMix.Items.Add("6 Channel Discrete");
654- drp_audioMix.Items.Add("AC3 Passthru");
655- drp_audioMix.Items.Add("DTS Passthru");
656+ drp_audioMix.Items.Add(AC3Passthru);
657+ drp_audioMix.Items.Add(DTSPassthru);
656658
657659 drp_audioMix.SelectedItem = "Dolby Pro Logic II";
658660
659661 switch (drp_audioEncoder.Text)
660662 {
661663 case "AAC (faac)":
662- drp_audioMix.Items.Remove("AC3 Passthru");
663- drp_audioMix.Items.Remove("DTS Passthru");
664+ drp_audioMix.Items.Remove(AC3Passthru);
665+ drp_audioMix.Items.Remove(DTSPassthru);
664666 break;
665667 case "MP3 (lame)":
666668 drp_audioMix.Items.Remove("6 Channel Discrete");
667- drp_audioMix.Items.Remove("AC3 Passthru");
668- drp_audioMix.Items.Remove("DTS Passthru");
669+ drp_audioMix.Items.Remove(AC3Passthru);
670+ drp_audioMix.Items.Remove(DTSPassthru);
669671 break;
670672 case "Vorbis (vorbis)":
671- drp_audioMix.Items.Remove("AC3 Passthru");
672- drp_audioMix.Items.Remove("DTS Passthru");
673+ drp_audioMix.Items.Remove(AC3Passthru);
674+ drp_audioMix.Items.Remove(DTSPassthru);
675+ break;
676+ case "AC3 (ffmpeg)":
677+ drp_audioMix.Items.Remove(AC3Passthru);
678+ drp_audioMix.Items.Remove(DTSPassthru);
673679 break;
674680 case "AC3 Passthru":
675- drp_audioMix.SelectedItem = "AC3 Passthru";
681+ drp_audioMix.SelectedItem = AC3Passthru;
676682 break;
677683 case "DTS Passthru":
678- drp_audioMix.SelectedItem = "DTS Passthru";
684+ drp_audioMix.SelectedItem = DTSPassthru;
679685 break;
680686 }
681687 }
--- a/win/C#/Functions/QueryGenerator.cs
+++ b/win/C#/Functions/QueryGenerator.cs
@@ -597,9 +597,11 @@ namespace Handbrake.Functions
597597 case "Vorbis (vorbis)":
598598 return "vorbis";
599599 case "AC3 Passthru":
600- return "ac3";
600+ return "copy:ac3";
601601 case "DTS Passthru":
602- return "dts";
602+ return "copy:dts";
603+ case "AC3 (ffmpeg)":
604+ return "ac3";
603605 default:
604606 return string.Empty;
605607 }
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -353,7 +353,7 @@ namespace Handbrake.Functions
353353 Match noAudio = Regex.Match(input, @"-a none");
354354 Match audioTracks = Regex.Match(input, @"-a ([0-9,]*)");
355355 Match audioTrackMixes = Regex.Match(input, @"-6 ([0-9a-zA-Z,]*)");
356- Match audioEncoders = Regex.Match(input, @"-E ([a-zA-Z0-9+,]*)");
356+ Match audioEncoders = Regex.Match(input, @"-E ([a-zA-Z0-9+,:]*)");
357357 Match audioBitrates = Regex.Match(input, @"-B ([0-9a-zA-Z,]*)"); // Auto = a-z
358358 Match audioSampleRates = Regex.Match(input, @"-R ([0-9a-zA-Z.,]*)"); // Auto = a-z
359359 Match drcValues = Regex.Match(input, @"-D ([0-9.,]*)");
@@ -688,8 +688,10 @@ namespace Handbrake.Functions
688688 case "vorbis":
689689 return "Vorbis (vorbis)";
690690 case "ac3":
691+ return "AC3 (ffmpeg)";
692+ case "copy:ac3":
691693 return "AC3 Passthru";
692- case "dts":
694+ case "copy:dts":
693695 return "DTS Passthru";
694696 default:
695697 return "AAC (faac)";
--- a/win/C#/Presets/PlistPresetHandler.cs
+++ b/win/C#/Presets/PlistPresetHandler.cs
@@ -549,16 +549,8 @@ namespace Handbrake.Presets
549549 xmlWriter.WriteStartElement("key");
550550 xmlWriter.WriteString(keyName);
551551 xmlWriter.WriteEndElement();
552- if (value)
553- {
554- xmlWriter.WriteStartElement("true");
555- xmlWriter.WriteEndElement();
556- }
557- else
558- {
559- xmlWriter.WriteStartElement("false");
560- xmlWriter.WriteEndElement();
561- }
552+ xmlWriter.WriteStartElement(value ? "true" : "false");
553+ xmlWriter.WriteEndElement();
562554 }
563555
564556 /// <summary>
--- a/win/C#/frmMain.Designer.cs
+++ b/win/C#/frmMain.Designer.cs
@@ -39,7 +39,7 @@ namespace Handbrake
3939 this.components = new System.ComponentModel.Container();
4040 System.Windows.Forms.ContextMenuStrip notifyIconMenu;
4141 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
42- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
42+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
4343 this.btn_restore = new System.Windows.Forms.ToolStripMenuItem();
4444 this.DVD_Save = new System.Windows.Forms.SaveFileDialog();
4545 this.ToolTip = new System.Windows.Forms.ToolTip(this.components);
@@ -407,9 +407,9 @@ namespace Handbrake
407407 //
408408 // number
409409 //
410- dataGridViewCellStyle1.Format = "N0";
411- dataGridViewCellStyle1.NullValue = null;
412- this.number.DefaultCellStyle = dataGridViewCellStyle1;
410+ dataGridViewCellStyle2.Format = "N0";
411+ dataGridViewCellStyle2.NullValue = null;
412+ this.number.DefaultCellStyle = dataGridViewCellStyle2;
413413 this.number.Frozen = true;
414414 this.number.HeaderText = "Chapter Number";
415415 this.number.MaxInputLength = 3;
@@ -717,13 +717,17 @@ namespace Handbrake
717717 this.mnu_importMacPreset.Name = "mnu_importMacPreset";
718718 this.mnu_importMacPreset.Size = new System.Drawing.Size(194, 22);
719719 this.mnu_importMacPreset.Text = "Import";
720+ this.mnu_importMacPreset.ToolTipText = "Import a (plist - mac format) preset.\r\nYou can import plist presets from the Mac," +
721+ " Linux and Windows GUI\'s";
720722 this.mnu_importMacPreset.Click += new System.EventHandler(this.mnu_importMacPreset_Click);
721723 //
722724 // mnu_exportMacPreset
723725 //
724726 this.mnu_exportMacPreset.Name = "mnu_exportMacPreset";
725727 this.mnu_exportMacPreset.Size = new System.Drawing.Size(194, 22);
726- this.mnu_exportMacPreset.Text = "Export";
728+ this.mnu_exportMacPreset.Text = "Export (Experimental)";
729+ this.mnu_exportMacPreset.ToolTipText = "Export a (plist - mac format) preset.\r\nThis can be imported by Mac, Linux or Wind" +
730+ "ows GUI\'s";
727731 this.mnu_exportMacPreset.Click += new System.EventHandler(this.mnu_exportMacPreset_Click);
728732 //
729733 // mnu_SelectDefault