1
0
Fork 0
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:
gnattu 2024-03-27 12:24:55 +08:00
parent fce1e7f173
commit e1c90dac1e
3 changed files with 5 additions and 3 deletions

View file

@ -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')) {