mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: add clear help text for encoding format options
These options are misunderstood as part of the hardware encoding options, but they are actually not. Add a helper text and make it in its own section.
This commit is contained in:
parent
fce1e7f173
commit
e1c90dac1e
3 changed files with 5 additions and 3 deletions
|
@ -123,13 +123,15 @@
|
|||
</div>
|
||||
|
||||
<div class="checkboxListContainer">
|
||||
<h3 class="checkboxListLabel">${LabelEncodingFormatOptions}</h3>
|
||||
<div class="fieldDescription">${EncodingFormatHelp}</div>
|
||||
<div class="checkboxList">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkAllowHevcEncoding" />
|
||||
<span>${AllowHevcEncoding}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkboxList allowAv1EncodingOption">
|
||||
<div class="checkboxList">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" id="chkAllowAv1Encoding" />
|
||||
<span>${AllowAv1Encoding}</span>
|
||||
|
|
|
@ -227,10 +227,8 @@ $(document).on('pageinit', '#encodingSettingsPage', function () {
|
|||
|
||||
if (this.value === 'videotoolbox') {
|
||||
page.querySelector('.videoToolboxTonemappingOptions').classList.remove('hide');
|
||||
page.querySelector('.allowAv1EncodingOption').classList.add('hide');
|
||||
} else {
|
||||
page.querySelector('.videoToolboxTonemappingOptions').classList.add('hide');
|
||||
page.querySelector('.allowAv1EncodingOption').classList.remove('hide');
|
||||
}
|
||||
|
||||
if (systemInfo.OperatingSystem.toLowerCase() === 'linux' && (this.value == 'qsv' || this.value == 'vaapi')) {
|
||||
|
|
|
@ -1602,6 +1602,8 @@
|
|||
"EnableIntelLowPowerHevcHwEncoder": "Enable Intel Low-Power HEVC hardware encoder",
|
||||
"IntelLowPowerEncHelp": "Low-Power Encoding can keep unnecessary CPU-GPU sync. On Linux they must be disabled if the i915 HuC firmware is not configured.",
|
||||
"LabelHardwareEncodingOptions": "Hardware encoding options",
|
||||
"LabelEncodingFormatOptions": "Encoding format options",
|
||||
"EncodingFormatHelp": "Select the video encoding that Jellyfin should transcode to. Jellyfin will use software encoding when hardware acceleration for the selected format is not available.",
|
||||
"AudioIsExternal": "The audio stream is external",
|
||||
"VideoBitrateNotSupported": "The video's bitrate is not supported",
|
||||
"UnknownVideoStreamInfo": "The video stream info is unknown",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue