Fix flipped Clamp args
This commit is contained in:
parent
da41cd365c
commit
3ea4174d12
|
@ -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 New Issue
Block a user