mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #4905 from BaronGreenback/streamingHelper
Null exception fix (cherry picked from commit 9a10a18db1654d5180267f03c72e45abd21165ce) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
d5a7478600
commit
34053b7259
@ -210,6 +210,7 @@ namespace Jellyfin.Api.Helpers
|
||||
&& !state.VideoRequest.MaxHeight.HasValue;
|
||||
|
||||
if (isVideoResolutionNotRequested
|
||||
&& state.VideoStream != null
|
||||
&& state.VideoRequest.VideoBitRate.HasValue
|
||||
&& state.VideoStream.BitRate.HasValue
|
||||
&& state.VideoRequest.VideoBitRate.Value >= state.VideoStream.BitRate.Value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user