- Queue window now allows selection of queued items on the whole panel, not just the left side of the panel.
- Fixed a few rouge extensions not getting changed correctly when selecting a preset. (may need to revisit this for psp preset)
- When using AAC+AC3 use m4v if mp4 is currently on the extension.
- Fixed the user defaults not setting video / audio encode properly.
git-svn-id: svn://localhost/HandBrake/trunk@1305
b64f7644-9d1e-0410-96f1-
a4d463321fa5
mainWindow.drp_videoEncoder.Text = presetQuery.VideoEncoder;\r
mainWindow.drp_audioCodec.Text = presetQuery.AudioEncoder;\r
\r
+ if (presetQuery.AudioEncoder == "AAC + AC3")\r
+ {\r
+ mainWindow.text_destination.Text = mainWindow.text_destination.Text.Replace(".mp4", ".m4v");\r
+ }\r
+\r
if (presetQuery.IpodAtom == true)\r
mainWindow.check_iPodAtom.CheckState = CheckState.Checked;\r
else\r
else\r
mainWindow.check_optimiseMP4.CheckState = CheckState.Unchecked;\r
\r
- #endregion\r
+ #endregion \r
\r
// Picture Settings Tab\r
#region Picture\r
else\r
mainWindow.check_deblock.CheckState = CheckState.Unchecked;\r
\r
- if (presetQuery.ChapterMarkers == true)\r
- mainWindow.Check_ChapterMarkers.CheckState = CheckState.Checked;\r
- else\r
- mainWindow.Check_ChapterMarkers.CheckState = CheckState.Unchecked;\r
\r
if (presetQuery.Anamorphic == true)\r
mainWindow.CheckPixelRatio.CheckState = CheckState.Checked;\r
\r
#endregion\r
\r
+ // Chapter Markers Tab\r
+ #region Chapter Markers\r
+\r
+ if (presetQuery.ChapterMarkers == true)\r
+ {\r
+ mainWindow.Check_ChapterMarkers.CheckState = CheckState.Checked;\r
+ mainWindow.text_destination.Text = mainWindow.text_destination.Text.Replace(".mp4", ".m4v");\r
+ }\r
+ else\r
+ mainWindow.Check_ChapterMarkers.CheckState = CheckState.Unchecked;\r
+\r
+ #endregion\r
+\r
// Audio Settings Tab\r
#region Audio\r
mainWindow.drp_audioBitrate.Text = presetQuery.AudioBitrate;\r
}\r
\r
// Load the presets\r
+ // Set some defaults for the dropdown menus. Just incase the normal or user presets dont load.\r
+ drp_crop.SelectedIndex = 0;\r
+\r
lblStatus.Text = "Loading Presets ...";\r
Application.DoEvents();\r
if (Properties.Settings.Default.updatePresets == "Checked")\r
Thread.Sleep(100);\r
}\r
\r
- // Set some defaults for the dropdown menus. Just incase the normal or user presets dont load.\r
- drp_crop.SelectedIndex = 0;\r
- drp_videoEncoder.SelectedIndex = 2;\r
- drp_audioCodec.SelectedIndex = 0;\r
-\r
//Finished Loading\r
lblStatus.Text = "Loading Complete!";\r
Application.DoEvents();\r
{\r
drp_audioMixDown.Enabled = false;\r
drp_audioMixDown.Text = "Automatic";\r
+ text_destination.Text.Replace(".mp4", ".m4v");\r
}\r
else\r
{\r
this.list_queue.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.list_queue.HorizontalScrollbar = true;\r
this.list_queue.Location = new System.Drawing.Point(12, 176);\r
- this.list_queue.MultiColumn = true;\r
this.list_queue.Name = "list_queue";\r
this.list_queue.Size = new System.Drawing.Size(701, 145);\r
this.list_queue.TabIndex = 28;\r