mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix: merge vt encoding options into one branch
This commit is contained in:
parent
e64a5ed6d6
commit
b454c76776
1 changed files with 2 additions and 4 deletions
|
@ -222,12 +222,10 @@ $(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');
|
||||
}
|
||||
|
||||
if ((this.value == 'videotoolbox')) {
|
||||
page.querySelector('.allowAv1EncodingOption').classList.add('hide');
|
||||
page.querySelector('.allowAv1EncodingOption').classList.remove('hide');
|
||||
}
|
||||
|
||||
if (systemInfo.OperatingSystem.toLowerCase() === 'linux' && (this.value == 'qsv' || this.value == 'vaapi')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue