diff options
author | sr55 <[email protected]> | 2012-08-05 15:02:10 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-08-05 15:02:10 +0000 |
commit | 7617bc4c41c7d79e1676e7edadd0ba71579c7ce3 (patch) | |
tree | a418ade8fd322997cd7ccc94dd96fdd91928796e /win/CS/HandBrake.ApplicationServices/Model | |
parent | 2418ee8d40fe9adde205a51dbe67bfb2b7cd660d (diff) |
WinGui: Add Audio Track Name option back in. For now, I've used a toggle button on the audio track to expand the row to show hidden audio options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4890 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs index 7af4806f7..6e5803c09 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs @@ -63,9 +63,6 @@ namespace HandBrake.ApplicationServices.Model.Encoding [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
private Audio scannedTrack;
- /// <summary>
- /// The track name.
- /// </summary>
private string trackName;
#endregion
@@ -84,6 +81,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding this.Bitrate = 160;
this.DRC = 0;
this.ScannedTrack = new Audio();
+ this.TrackName = string.Empty;
}
/// <summary>
@@ -102,6 +100,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding this.mixDown = track.MixDown;
this.sampleRate = track.SampleRate;
this.scannedTrack = track.ScannedTrack ?? new Audio();
+ this.TrackName = track.TrackName;
}
#endregion
@@ -352,6 +351,22 @@ namespace HandBrake.ApplicationServices.Model.Encoding {
get { return this; }
}
+
+ /// <summary>
+ /// Gets or sets the track name.
+ /// </summary>
+ public string TrackName
+ {
+ get
+ {
+ return this.trackName;
+ }
+ set
+ {
+ this.trackName = value;
+ }
+ }
+
#endregion
}
}
\ No newline at end of file |