mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 02:18:16 -07:00
Fix the hidden software tonemap options
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
6d0f0e85a6
commit
f57bda5e02
@ -205,7 +205,7 @@ $(document).on('pageinit', '#encodingSettingsPage', function () {
|
||||
}
|
||||
|
||||
const isHwaSelected = [ 'amf', 'nvenc', 'qsv', 'vaapi', 'rkmpp', 'videotoolbox' ].includes(this.value);
|
||||
if (this.value === '' || isHwaSelected) {
|
||||
if (this.value === 'none' || isHwaSelected) {
|
||||
page.querySelector('.tonemappingOptions').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.tonemappingOptions').classList.add('hide');
|
||||
|
Loading…
Reference in New Issue
Block a user