mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 05:53:51 +01: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…
Reference in a new issue