diff options
| author | JPVenson <ger-delta-07@hotmail.de> | 2024-11-14 21:56:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-14 21:56:18 +0100 |
| commit | e8be7ab01192465735793c98bf9bbab9fca9cb8d (patch) | |
| tree | 86de393341830e834b0fec743d060a80a57332b3 /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | 30ba35aa0ce10916c6bd4cb6b33d573af52219ec (diff) | |
| parent | 53683809d94cae373882d59e8b6761c517e0af1d (diff) | |
Merge branch 'jellyfin:master' into feature/EFUserData
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 6a8ad2bdc..fe2c3d24f 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -1938,7 +1938,11 @@ namespace Emby.Server.Implementations.Session // Don't report acceleration type for non-admin users. result = result.Select(r => { - r.TranscodingInfo.HardwareAccelerationType = HardwareAccelerationType.none; + if (r.TranscodingInfo is not null) + { + r.TranscodingInfo.HardwareAccelerationType = HardwareAccelerationType.none; + } + return r; }); } |
