mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Wrap HardwareAccelerationType with if
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
f2b4ae881b
commit
aa81f651b7
1 changed files with 6 additions and 4 deletions
|
@ -173,11 +173,13 @@ import ServerConnections from '../ServerConnections';
|
|||
value: session.TranscodingInfo.TranscodeReasons.map(translateReason).join('<br/>')
|
||||
});
|
||||
}
|
||||
if (session.TranscodingInfo.HardwareAccelerationType) {
|
||||
sessionStats.push({
|
||||
label: globalize.translate('LabelHardwareEncoding'),
|
||||
value: session.TranscodingInfo.HardwareAccelerationType
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return sessionStats;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue