diff options
| author | gnattu <gnattuoc@me.com> | 2024-05-06 12:48:50 +0800 |
|---|---|---|
| committer | gnattu <gnattuoc@me.com> | 2024-07-17 21:27:35 +0800 |
| commit | 0381c5a288bc56e20aa5def05e3d41bacf3519a7 (patch) | |
| tree | cee14ca1ff941d7d1234f8f7d4f0aa321d8edce1 /MediaBrowser.Model/Dlna/TranscodingProfile.cs | |
| parent | 78929418cc3aa783db3abaf99d15ba55e41cc2ac (diff) | |
Add EnableAudioVbrEncoding to TranscodingProfile
This will allow the client selectively disable VBR audio when it causes problems.
Signed-off-by: gnattu <gnattuoc@me.com>
Diffstat (limited to 'MediaBrowser.Model/Dlna/TranscodingProfile.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/TranscodingProfile.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Dlna/TranscodingProfile.cs b/MediaBrowser.Model/Dlna/TranscodingProfile.cs index 891448c66..d535e8c18 100644 --- a/MediaBrowser.Model/Dlna/TranscodingProfile.cs +++ b/MediaBrowser.Model/Dlna/TranscodingProfile.cs @@ -70,6 +70,10 @@ namespace MediaBrowser.Model.Dlna public ProfileCondition[] Conditions { get; set; } + [DefaultValue(true)] + [XmlAttribute("enableAudioVbrEncoding")] + public bool EnableAudioVbrEncoding { get; set; } + public string[] GetAudioCodecs() { return ContainerProfile.SplitValue(AudioCodec); |
