mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Hide hardware acceleration type in playstats
This commit is contained in:
parent
49ae4c3f40
commit
db972f84dc
1 changed files with 11 additions and 6 deletions
|
@ -172,12 +172,17 @@ function getTranscodingStats(session, player, displayPlayMethod) {
|
|||
value: session.TranscodingInfo.TranscodeReasons.map(translateReason).join('<br/>')
|
||||
});
|
||||
}
|
||||
if (session.TranscodingInfo.HardwareAccelerationType) {
|
||||
sessionStats.push({
|
||||
label: globalize.translate('LabelHardwareEncoding'),
|
||||
value: session.TranscodingInfo.HardwareAccelerationType
|
||||
});
|
||||
}
|
||||
// Hide this for now because it is not useful in its current state.
|
||||
// This only reflects the configuration in the dashboard, but the actual
|
||||
// decoder/encoder selection is more complex. As a result, the hardware
|
||||
// encoder may not be used even if hardware acceleration is configured,
|
||||
// making the display of hardware acceleration misleading.
|
||||
// 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