diff options
Diffstat (limited to 'win/C#/frmMain/QueryGenerator.cs')
-rw-r--r-- | win/C#/frmMain/QueryGenerator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/frmMain/QueryGenerator.cs b/win/C#/frmMain/QueryGenerator.cs index 586c7a88a..e8407a4bc 100644 --- a/win/C#/frmMain/QueryGenerator.cs +++ b/win/C#/frmMain/QueryGenerator.cs @@ -79,7 +79,7 @@ namespace Handbrake // Destination tab
if (mainWindow.text_destination.Text != "")
- query += " -o " + '"' + mainWindow.text_destination.Text.Replace(".m", "_sample.m").Replace(".avi", "_sample.avi").Replace(".ogm", "_sample.ogm") + '"';
+ query += " -o " + '"' + mainWindow.text_destination.Text.Replace(".m", "_sample.m") + '"';
query += generateTabbedComponentsQuery(mainWindow);
return query;
@@ -400,7 +400,7 @@ namespace Handbrake string[] destName = mainWindow.text_destination.Text.Split('\\');
string dest_name = destName[destName.Length - 1];
dest_name = dest_name.Replace("\"", "");
- dest_name = dest_name.Replace(".mp4", "").Replace(".m4v", "").Replace(".avi", "").Replace(".mkv", "").Replace(".ogm", "");
+ dest_name = dest_name.Replace(".mp4", "").Replace(".m4v", "").Replace(".mkv", "");
string source_title = mainWindow.drp_dvdtitle.Text;
string[] titlesplit = source_title.Split(' ');
|