summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain/PresetLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmMain/PresetLoader.cs')
-rw-r--r--win/C#/frmMain/PresetLoader.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/win/C#/frmMain/PresetLoader.cs b/win/C#/frmMain/PresetLoader.cs
index 0a2ad328a..b616b2566 100644
--- a/win/C#/frmMain/PresetLoader.cs
+++ b/win/C#/frmMain/PresetLoader.cs
@@ -31,9 +31,7 @@ namespace Handbrake
string destination = mainWindow.text_destination.Text;
destination = destination.Replace(".mp4", "." + presetQuery.Format);
destination = destination.Replace(".m4v", "." + presetQuery.Format);
- destination = destination.Replace(".avi", "." + presetQuery.Format);
destination = destination.Replace(".mkv", "." + presetQuery.Format);
- destination = destination.Replace(".ogm", "." + presetQuery.Format);
mainWindow.text_destination.Text = destination;
}
@@ -52,10 +50,6 @@ namespace Handbrake
mainWindow.drop_format.SelectedIndex = 1;
else if (presetQuery.Format == "mkv")
mainWindow.drop_format.SelectedIndex = 2;
- else if (presetQuery.Format == "avi")
- mainWindow.drop_format.SelectedIndex = 3;
- else if (presetQuery.Format == "ogm")
- mainWindow.drop_format.SelectedIndex = 4;
if (presetQuery.ChapterMarkers && presetQuery.Format == "mp4")
mainWindow.drop_format.SelectedIndex = 1;