mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fixed possible NullReferenceException in SessionManager (#12915)
This commit is contained in:
parent
f99e0407fd
commit
3592c629e7
@ -1937,8 +1937,12 @@ namespace Emby.Server.Implementations.Session
|
||||
{
|
||||
// Don't report acceleration type for non-admin users.
|
||||
result = result.Select(r =>
|
||||
{
|
||||
if (r.TranscodingInfo is not null)
|
||||
{
|
||||
r.TranscodingInfo.HardwareAccelerationType = HardwareAccelerationType.none;
|
||||
}
|
||||
|
||||
return r;
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user