mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix condition in CanStreamCopyAudio
This commit is contained in:
parent
2cc0869144
commit
3a5503be5f
@ -1970,9 +1970,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…
x
Reference in New Issue
Block a user