mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-30 23:18:09 +00:00
Merge pull request #4905 from BaronGreenback/streamingHelper
Null exception fix
(cherry picked from commit 9a10a18db1)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
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)
|
||||
|
||||
Reference in New Issue
Block a user