summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-08-07 13:28:43 +0000
committersr55 <[email protected]>2011-08-07 13:28:43 +0000
commit439b0a6c8f4cd9f5c15aa8c06e5200f2119fc88a (patch)
treee89b5543adfe31c22fff28c766e1cb38c5da6a41 /win/CS/HandBrake.ApplicationServices/Functions
parentc24d8ddd65e9549b26e813681cac60365c1c5175 (diff)
WinGui: Support for AAC and MP3 Passthru added + change default audio mode setting to 0 to prevent crash.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4158 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Functions')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Functions/Converters.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Functions/Converters.cs b/win/CS/HandBrake.ApplicationServices/Functions/Converters.cs
index e12639e1d..ba6331fcf 100644
--- a/win/CS/HandBrake.ApplicationServices/Functions/Converters.cs
+++ b/win/CS/HandBrake.ApplicationServices/Functions/Converters.cs
@@ -148,6 +148,10 @@ namespace HandBrake.ApplicationServices.Functions
case "copy:dts":
return "DTS Passthru";
case "copy:dtshd":
+ return "MP3 Passthru";
+ case "copy:mp3":
+ return "AAC Passthru";
+ case "copy:aac":
return "DTS-HD Passthru";
case "ffaac":
return "AAC (ffmpeg)";
@@ -181,6 +185,10 @@ namespace HandBrake.ApplicationServices.Functions
return AudioEncoder.DtsPassthrough;
case "copy:dtshd":
return AudioEncoder.DtsHDPassthrough;
+ case "copy:mp3":
+ return AudioEncoder.Mp3Passthru;
+ case "copy:aac":
+ return AudioEncoder.AacPassthru;
default:
return AudioEncoder.Faac;
}
@@ -213,6 +221,10 @@ namespace HandBrake.ApplicationServices.Functions
return AudioEncoder.DtsPassthrough;
case "DTS-HD Passthru":
return AudioEncoder.DtsHDPassthrough;
+ case "AAC Passthru":
+ return AudioEncoder.AacPassthru;
+ case "MP3 Passthru":
+ return AudioEncoder.Mp3Passthru;
default:
return AudioEncoder.Faac;
}
@@ -247,6 +259,10 @@ namespace HandBrake.ApplicationServices.Functions
return "copy:dtshd";
case AudioEncoder.Ac3:
return "ac3";
+ case AudioEncoder.AacPassthru:
+ return "copy:aac";
+ case AudioEncoder.Mp3Passthru:
+ return "copy:mp3";
default:
return "faac";