diff options
author | randomengy <[email protected]> | 2011-08-13 01:53:01 +0000 |
---|---|---|
committer | randomengy <[email protected]> | 2011-08-13 01:53:01 +0000 |
commit | 566fb1b3eb040d268f5d546778b665271194aabb (patch) | |
tree | 0b1da5d89ce07af29ab96f98ab7cf67222284809 /win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs | |
parent | 5fe02b451576dbf5c914126aae1b982f6d07c4f8 (diff) |
Interop: Struct changes to keep up with libhb and passthrough updates. Also fixing a problem where the audio passthrough mask wasn't applied when creating the passthrough codec value.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4171 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs index ee49c5802..73ca4f290 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/Converters.cs @@ -117,6 +117,14 @@ namespace HandBrake.Interop return AudioCodec.Dts;
case NativeConstants.HB_ACODEC_DCA_HD:
return AudioCodec.DtsHD;
+ case NativeConstants.HB_ACODEC_LAME:
+ case NativeConstants.HB_ACODEC_MP3:
+ return AudioCodec.Mp3;
+ case NativeConstants.HB_ACODEC_FAAC:
+ case NativeConstants.HB_ACODEC_FFAAC:
+ case NativeConstants.HB_ACODEC_CA_AAC:
+ case NativeConstants.HB_ACODEC_CA_HAAC:
+ return AudioCodec.Aac;
default:
return AudioCodec.Other;
}
|