aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2023-11-15 15:22:51 +0100
committerBond_009 <bond.009@outlook.com>2023-11-15 15:22:51 +0100
commitefec6e7a23fb0540559f7868640daf9624eecd7e (patch)
tree4a21b156b35b5b7c6223f131a36f6c792f525dc0
parent8ee15258944deb83b880cb5263fae2843a7af248 (diff)
Address review comment
-rw-r--r--MediaBrowser.Model/Dlna/StreamBuilder.cs2
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));
}