mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-05 13:23:03 +02:00
Fix condition in CanStreamCopyAudio
This commit is contained in:
parent
ee4ffd64e1
commit
3f6a23d7d0
|
@ -2023,9 +2023,9 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Video bitrate must fall within requested value
|
// Audio bitrate must fall within requested value
|
||||||
if (request.AudioBitRate.HasValue
|
if (request.AudioBitRate.HasValue
|
||||||
&& audioStream.BitDepth.HasValue
|
&& audioStream.BitRate.HasValue
|
||||||
&& audioStream.BitRate.Value > request.AudioBitRate.Value)
|
&& audioStream.BitRate.Value > request.AudioBitRate.Value)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue