mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Address review comment
This commit is contained in:
parent
8ee1525894
commit
efec6e7a23
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ namespace MediaBrowser.Model.Dlna
|
||||||
playlistItem.SetOption(audioStream.Codec, "profile", audioStream.Profile.ToLowerInvariant());
|
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));
|
playlistItem.SetOption(audioStream.Codec, "level", audioStream.Level.Value.ToString(CultureInfo.InvariantCulture));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue