summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-11-19 20:35:09 +0000
committersr55 <[email protected]>2008-11-19 20:35:09 +0000
commit8abbb1b394bf512451c46d32015d883f5f1dabb7 (patch)
tree2500fcdbc3927574b15e95c2cc3ad647af8cadea /win/C#/Functions
parent4f73174d5e3440a1bb53424c1592bd6ff0dc6b91 (diff)
WinGui:
- Fix Format dropdown. It was not setting the file extension correctly, thus not updating the audio and video encoder dropdowns. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1932 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/Main.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs
index 6374d7407..f8600d3e9 100644
--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -19,23 +19,6 @@ namespace Handbrake.Functions
class Main
{
/// <summary>
- /// Take in a File destination and change it's file extension to a new Extension
- /// </summary>
- /// <param name="destination"></param>
- /// <param name="newExtension"></param>
- /// <returns>String of the new file path and extension</returns>
- public string setExtension(string destination, string newExtension)
- {
- destination.Replace(".mp4", newExtension);
- destination.Replace(".m4v", newExtension);
- destination.Replace(".mkv", newExtension);
- destination.Replace(".avi", newExtension);
- destination.Replace(".ogm", newExtension);
-
- return destination;
- }
-
- /// <summary>
/// Calculate the duration of the selected title and chapters
/// </summary>
public TimeSpan calculateDuration(string chapter_start, string chapter_end, Parsing.Title selectedTitle)