Address review comment

This commit is contained in:
Bond_009 2023-11-15 15:22:51 +01:00
parent 8ee1525894
commit efec6e7a23
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}