diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs index ac4b95e32..fedeb275f 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Encoding/AudioTrack.cs @@ -198,6 +198,7 @@ namespace HandBrake.ApplicationServices.Model.Encoding this.encoder = value;
this.NotifyOfPropertyChange(() => this.Encoder);
this.NotifyOfPropertyChange("IsPassthru");
+ this.NotifyOfPropertyChange("CanSetBitrate");
this.NotifyOfPropertyChange("TrackReference");
}
}
@@ -335,6 +336,17 @@ namespace HandBrake.ApplicationServices.Model.Encoding }
/// <summary>
+ /// Gets a value indicating whether can set bitrate.
+ /// </summary>
+ public bool CanSetBitrate
+ {
+ get
+ {
+ return this.IsPassthru || this.Encoder == AudioEncoder.ffflac;
+ }
+ }
+
+ /// <summary>
/// Gets a value indicating whether IsLossless.
/// </summary>
public bool IsLossless
|