diff options
author | sr55 <[email protected]> | 2009-08-28 15:04:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-08-28 15:04:25 +0000 |
commit | 3ef0219c4c3113616869f9ff2395b65b947aef7a (patch) | |
tree | d2addd30e6d04e59258eb54a963260b16f799f16 /win/C#/frmMain.cs | |
parent | d72c71e8718762f44b218f0124a2026df2735e74 (diff) |
WinGui:
- Fix issue changing file format causing the audio encoder dropdown to be set to ""
- Fixed an issue with autoName function and format dropdown with regards to AC3 in the audio list. Also, CC or SRT
- Combined a bunch of functions in x264Panel into one.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2784 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index f50c544d0..662491551 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -926,7 +926,7 @@ namespace Handbrake drop_chapterFinish.Text = drop_chapterFinish.Items[drop_chapterFinish.Items.Count - 1].ToString();
// Populate the Audio Channels Dropdown
- AudioSettings.setTrackList(selectedTitle);
+ AudioSettings.SetTrackList(selectedTitle);
// Populate the Subtitles dropdown
Subtitles.drp_subtitleTracks.Items.Clear();
@@ -939,7 +939,7 @@ namespace Handbrake // Run the autoName & chapterNaming functions
if (Properties.Settings.Default.autoNaming)
{
- string autoPath = Main.autoName(drp_dvdtitle, drop_chapterStart.Text, drop_chapterFinish.Text, sourcePath, text_destination.Text, drop_format.SelectedIndex, Check_ChapterMarkers.Checked);
+ string autoPath = Main.autoName(this);
if (autoPath != null)
text_destination.Text = autoPath;
else
@@ -1014,7 +1014,7 @@ namespace Handbrake // Run the Autonaming function
if (Properties.Settings.Default.autoNaming)
- text_destination.Text = Main.autoName(drp_dvdtitle, drop_chapterStart.Text, drop_chapterFinish.Text, sourcePath, text_destination.Text, drop_format.SelectedIndex, Check_ChapterMarkers.Checked);
+ text_destination.Text = Main.autoName(this);
// Disable chapter markers if only 1 chapter is selected.
if (chapterStart == chapterEnd)
@@ -1097,7 +1097,7 @@ namespace Handbrake switch (drop_format.SelectedIndex)
{
case 0:
- if (Properties.Settings.Default.useM4v)
+ if (Properties.Settings.Default.useM4v || Check_ChapterMarkers.Checked || AudioSettings.RequiresM4V() || Subtitles.RequiresM4V())
setExtension(".m4v");
else
setExtension(".mp4");
@@ -1107,7 +1107,7 @@ namespace Handbrake break;
}
- AudioSettings.setAudioByContainer(drop_format.Text);
+ AudioSettings.SetContainer(drop_format.Text);
Subtitles.setContainer(drop_format.SelectedIndex);
if ((drop_format.Text.Contains("MP4")) || (drop_format.Text.Contains("M4V")))
|