From 650a8ae79d83ee1cf9233cbd5ba01a7b242219a1 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 7 Jan 2012 19:15:22 +0000 Subject: WinGui: Couple of bug fixes to the Auto-Passthru feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4402 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Model/Encoding/AllowedPassthru.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'win/CS/HandBrake.ApplicationServices/Model') diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AllowedPassthru.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AllowedPassthru.cs index 748cfbdc4..a892eb119 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AllowedPassthru.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AllowedPassthru.cs @@ -41,6 +41,22 @@ namespace HandBrake.ApplicationServices.Model.Encoding this.AudioEncoderFallback = AudioEncoder.Ac3; } + /// + /// Initializes a new instance of the class. + /// + /// + /// The initial value. + /// + public AllowedPassthru(AllowedPassthru initialValue) + { + this.AudioAllowAACPass = initialValue.AudioAllowAACPass; + this.AudioAllowAC3Pass = initialValue.AudioAllowAC3Pass; + this.AudioAllowDTSHDPass = initialValue.AudioAllowDTSHDPass; + this.AudioAllowDTSPass = initialValue.AudioAllowDTSPass; + this.AudioAllowMP3Pass = initialValue.AudioAllowMP3Pass; + this.AudioEncoderFallback = initialValue.AudioEncoderFallback; + } + /// /// Gets or sets a value indicating whether AudioAllowAACPass. /// -- cgit v1.2.3