Address review comment

This commit is contained in:
Bond_009 2023-11-15 15:22:51 +01:00
parent 8ee1525894
commit efec6e7a23

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