diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs index 3fcf7cb5a..14a87bd00 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs @@ -7,6 +7,8 @@ // </summary>
// --------------------------------------------------------------------------------------------------------------------
+using System.Collections.Generic;
+
namespace HandBrake.ApplicationServices.Model.Encoding
{
using System;
@@ -198,6 +200,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding this.encoder = value;
this.OnPropertyChanged("Encoder");
this.OnPropertyChanged("IsPassthru");
+ this.OnPropertyChanged("TrackReference");
}
}
@@ -235,6 +238,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding {
this.mixDown = value;
this.OnPropertyChanged("MixDown");
+ this.OnPropertyChanged("TrackReference");
}
}
@@ -358,6 +362,19 @@ namespace HandBrake.ApplicationServices.Model.Encoding return false;
}
}
+
+ public bool IsLossless
+ {
+ get
+ {
+ return this.IsPassthru || this.Encoder == AudioEncoder.ffflac;
+ }
+ }
+
+ public AudioTrack TrackReference
+ {
+ get { return this; }
+ }
#endregion
}
}
\ No newline at end of file |