diff --git a/src/controllers/dashboard/encodingsettings.html b/src/controllers/dashboard/encodingsettings.html index af2d4eb6d..330dac8a1 100644 --- a/src/controllers/dashboard/encodingsettings.html +++ b/src/controllers/dashboard/encodingsettings.html @@ -16,6 +16,7 @@ + @@ -34,19 +35,23 @@

${LabelEnableHardwareDecodingFor}

+
diff --git a/src/controllers/dashboard/encodingsettings.js b/src/controllers/dashboard/encodingsettings.js index 24946cadb..3d434df7f 100644 --- a/src/controllers/dashboard/encodingsettings.js +++ b/src/controllers/dashboard/encodingsettings.js @@ -200,13 +200,13 @@ $(document).on('pageinit', '#encodingSettingsPage', function () { page.querySelector('#txtVaapiDevice').removeAttribute('required'); } - if (this.value == 'amf' || this.value == 'nvenc' || this.value == 'qsv' || this.value == 'vaapi' || this.value == 'videotoolbox') { + if (this.value == 'amf' || this.value == 'nvenc' || this.value == 'qsv' || this.value == 'vaapi' || this.value == 'rkmpp' || this.value == 'videotoolbox') { page.querySelector('.fld10bitHevcVp9HwDecoding').classList.remove('hide'); } else { page.querySelector('.fld10bitHevcVp9HwDecoding').classList.add('hide'); } - if (this.value == 'amf' || this.value == 'nvenc' || this.value == 'qsv' || this.value == 'vaapi') { + if (this.value == 'amf' || this.value == 'nvenc' || this.value == 'qsv' || this.value == 'vaapi' || this.value == 'rkmpp') { page.querySelector('.tonemappingOptions').classList.remove('hide'); } else { page.querySelector('.tonemappingOptions').classList.add('hide');