Skip to content

Commit

Permalink
Merge pull request #6197 from nyanmisaka/fix-txtQsvDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Oct 14, 2024
2 parents 3165736 + 14fbd12 commit b34eb71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/controllers/dashboard/encodingsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,9 @@ $(document).on('pageinit', '#encodingSettingsPage', function () {
if (this.value == 'qsv') {
page.querySelector('.fldSysNativeHwDecoder').classList.remove('hide');
page.querySelector('.fldQsvDevice').classList.remove('hide');
page.querySelector('#txtQsvDevice').setAttribute('required', 'required');
} else {
page.querySelector('.fldSysNativeHwDecoder').classList.add('hide');
page.querySelector('.fldQsvDevice').classList.add('hide');
page.querySelector('#txtQsvDevice').removeAttribute('required');
}

if (this.value == 'nvenc') {
Expand Down

0 comments on commit b34eb71

Please sign in to comment.