Skip to content

The swiss army knife of lossless video/audio editing

fix stupid bug

Mikael Finstad34b9576e3301
diff --git a/public/ffmpeg.js b/public/ffmpeg.js
index 784a9735..6bde2e0a 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