1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2776 from gnuyent/feat/hardware-encode-status

Add hardware encoding status to playback data
This commit is contained in:
Bill Thornton 2021-08-24 13:47:01 -07:00 committed by GitHub
commit 659da46ad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -173,6 +173,12 @@ 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;

View file

@ -646,6 +646,7 @@
"LabelH265Crf": "H265 encoding CRF:",
"LabelHardwareAccelerationType": "Hardware acceleration:",
"LabelHardwareAccelerationTypeHelp": "Hardware acceleration requires additional configuration.",
"LabelHardwareEncoding": "Hardware encoding:",
"LabelHDHomerunPortRange": "HD Homerun port range:",
"LabelHDHomerunPortRangeHelp": "Restricts the HD Homerun UDP port range to this value. (Default is 1024 - 645535).",
"LabelHomeNetworkQuality": "Home network quality:",