summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-06-15 21:52:07 +0000
committersr55 <[email protected]>2012-06-15 21:52:07 +0000
commit0238140a12f273586ff1ad0b2416690fa44a4ecb (patch)
tree214185a948c3fa61de8730e5af4edb379d7ff5b1 /win/CS
parent9509bc619cba7147cda85cbeea7d56c8343c1465 (diff)
WinGui: Fix an issue in the AudioTrack copy constructor.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4739 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
index 49348048f..828fc6a70 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs
@@ -101,7 +101,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding
this.gain = track.Gain;
this.mixDown = track.MixDown;
this.sampleRate = track.SampleRate;
- this.scannedTrack = new Audio();
+ this.scannedTrack = track.ScannedTrack ?? new Audio();
}
#endregion