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
This commit is contained in:
commit
9a10a18db1
@ -210,6 +210,7 @@ namespace Jellyfin.Api.Helpers
|
|||||||
&& !state.VideoRequest.MaxHeight.HasValue;
|
&& !state.VideoRequest.MaxHeight.HasValue;
|
||||||
|
|
||||||
if (isVideoResolutionNotRequested
|
if (isVideoResolutionNotRequested
|
||||||
|
&& state.VideoStream != null
|
||||||
&& state.VideoRequest.VideoBitRate.HasValue
|
&& state.VideoRequest.VideoBitRate.HasValue
|
||||||
&& state.VideoStream.BitRate.HasValue
|
&& state.VideoStream.BitRate.HasValue
|
||||||
&& state.VideoRequest.VideoBitRate.Value >= state.VideoStream.BitRate.Value)
|
&& state.VideoRequest.VideoBitRate.Value >= state.VideoStream.BitRate.Value)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user