diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-11-15 15:22:51 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-11-15 15:22:51 +0100 |
| commit | efec6e7a23fb0540559f7868640daf9624eecd7e (patch) | |
| tree | 4a21b156b35b5b7c6223f131a36f6c792f525dc0 | |
| parent | 8ee15258944deb83b880cb5263fae2843a7af248 (diff) | |
Address review comment
| -rw-r--r-- | MediaBrowser.Model/Dlna/StreamBuilder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Dlna/StreamBuilder.cs b/MediaBrowser.Model/Dlna/StreamBuilder.cs index 252ac1303..bf18d46dc 100644 --- a/MediaBrowser.Model/Dlna/StreamBuilder.cs +++ b/MediaBrowser.Model/Dlna/StreamBuilder.cs @@ -868,7 +868,7 @@ namespace MediaBrowser.Model.Dlna playlistItem.SetOption(audioStream.Codec, "profile", audioStream.Profile.ToLowerInvariant()); } - if (audioStream.Level.HasValue) + if (audioStream.Level.HasValue && audioStream.Level.Value != 0) { playlistItem.SetOption(audioStream.Codec, "level", audioStream.Level.Value.ToString(CultureInfo.InvariantCulture)); } |
