From 34b9576e33012916d6cc05c48d69041422bcd1f1 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 19 Apr 2023 10:48:23 +0100 Subject: [PATCH] fix stupid bug --- public/ffmpeg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/ffmpeg.js b/public/ffmpeg.js index 784a97353f0..6bde2e0a2dd 100644 --- a/public/ffmpeg.js +++ b/public/ffmpeg.js @@ -92,6 +92,7 @@ function getExecaOptions({ env, ...customExecaOptions } = {}) { const execaOptions = { ...customExecaOptions, env: { ...env } }; // https://github.com/mifi/lossless-cut/issues/1143#issuecomment-1500883489 if (isLinux && !isDev && !customFfPath) execaOptions.env.LD_LIBRARY_PATH = process.resourcesPath; + return execaOptions; } // todo collect warnings from ffmpeg output and show them after export? example: https://github.com/mifi/lossless-cut/issues/1469