From b9ee65e49deef529bd522bbc0e9f2410930d21c6 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 27 Nov 2023 11:57:27 -0500 Subject: [PATCH] Set FFmpeg path disabled --- src/controllers/dashboard/encodingsettings.html | 3 +-- src/controllers/dashboard/encodingsettings.js | 15 --------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/controllers/dashboard/encodingsettings.html b/src/controllers/dashboard/encodingsettings.html index bf678e71a40..a256667fdf2 100644 --- a/src/controllers/dashboard/encodingsettings.html +++ b/src/controllers/dashboard/encodingsettings.html @@ -223,9 +223,8 @@

${LabelHardwareEncodingOptions}

- +
-
${LabelffmpegPathHelp}
diff --git a/src/controllers/dashboard/encodingsettings.js b/src/controllers/dashboard/encodingsettings.js index f24f3fecb40..0840ad36e20 100644 --- a/src/controllers/dashboard/encodingsettings.js +++ b/src/controllers/dashboard/encodingsettings.js @@ -234,21 +234,6 @@ import alert from '../../components/alert'; setDecodingCodecsVisible(page, this.value); }); - $('#btnSelectEncoderPath', page).on('click.selectDirectory', function () { - import('../../components/directorybrowser/directorybrowser').then(({default: DirectoryBrowser}) => { - const picker = new DirectoryBrowser(); - picker.show({ - includeFiles: true, - callback: function (path) { - if (path) { - $('.txtEncoderPath', page).val(path); - } - - picker.close(); - } - }); - }); - }); $('#btnSelectTranscodingTempPath', page).on('click.selectDirectory', function () { import('../../components/directorybrowser/directorybrowser').then(({default: DirectoryBrowser}) => { const picker = new DirectoryBrowser();