mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6043 from gnattu/fix-enum-transcode
Change encoding preset and play stats for server change
This commit is contained in:
commit
818f90d05c
2 changed files with 13 additions and 8 deletions
|
@ -172,12 +172,17 @@ function getTranscodingStats(session, player, displayPlayMethod) {
|
||||||
value: session.TranscodingInfo.TranscodeReasons.map(translateReason).join('<br/>')
|
value: session.TranscodingInfo.TranscodeReasons.map(translateReason).join('<br/>')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (session.TranscodingInfo.HardwareAccelerationType) {
|
// Hide this for now because it is not useful in its current state.
|
||||||
sessionStats.push({
|
// This only reflects the configuration in the dashboard, but the actual
|
||||||
label: globalize.translate('LabelHardwareEncoding'),
|
// decoder/encoder selection is more complex. As a result, the hardware
|
||||||
value: session.TranscodingInfo.HardwareAccelerationType
|
// 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;
|
return sessionStats;
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<div class="selectContainer">
|
<div class="selectContainer">
|
||||||
<select is="emby-select" id="selectVideoDecoder" label="${LabelHardwareAccelerationType}">
|
<select is="emby-select" id="selectVideoDecoder" label="${LabelHardwareAccelerationType}">
|
||||||
<option value="">${None}</option>
|
<option value="none">${None}</option>
|
||||||
<option value="amf">AMD AMF</option>
|
<option value="amf">AMD AMF</option>
|
||||||
<option value="nvenc">Nvidia NVENC</option>
|
<option value="nvenc">Nvidia NVENC</option>
|
||||||
<option value="qsv">Intel QuickSync (QSV)</option>
|
<option value="qsv">Intel QuickSync (QSV)</option>
|
||||||
|
@ -312,7 +312,7 @@
|
||||||
|
|
||||||
<div class="selectContainer">
|
<div class="selectContainer">
|
||||||
<select is="emby-select" id="selectEncoderPreset" label="${LabelEncoderPreset}">
|
<select is="emby-select" id="selectEncoderPreset" label="${LabelEncoderPreset}">
|
||||||
<option value="">${Auto}</option>
|
<option value="auto">${Auto}</option>
|
||||||
<option value="veryslow">veryslow</option>
|
<option value="veryslow">veryslow</option>
|
||||||
<option value="slower">slower</option>
|
<option value="slower">slower</option>
|
||||||
<option value="slow">slow</option>
|
<option value="slow">slow</option>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue