mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Update StreamingHelpers.cs
Null exception fix
This commit is contained in:
parent
21d2e9ff0c
commit
11700db312
@ -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