mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Fix flipped Clamp args
This commit is contained in:
parent
da41cd365c
commit
3ea4174d12
1 changed files with 1 additions and 1 deletions
|
@ -910,7 +910,7 @@ namespace MediaBrowser.Model.Dlna
|
|||
|
||||
// Make sure the video bitrate is lower than bitrate settings but at least 64k
|
||||
var currentValue = playlistItem.VideoBitrate ?? availableBitrateForVideo;
|
||||
playlistItem.VideoBitrate = Math.Clamp(currentValue, availableBitrateForVideo, 64_000);
|
||||
playlistItem.VideoBitrate = Math.Clamp(currentValue, 64_000, availableBitrateForVideo);
|
||||
}
|
||||
|
||||
_logger.LogInformation(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue