The swiss army knife of lossless video/audio editing
fix out of disk space not working
Mikael Finstad07723211b3f1
diff --git a/src/renderer/src/util.ts b/src/renderer/src/util.tsindex 8b3f6cd6..0ce55f65 100644--- a/src/renderer/src/util.ts+++ b/src/renderer/src/util.ts@@ -311,12 +311,12 @@ export const getStdioString = (stdio: string | Uint8Array) => (stdio instanceof// A bit hacky but it works, unless someone has a file called "No space left on device" ( ͡° ͜ʖ ͡°)export const isOutOfSpaceError = (err: InvariantExecaError) => (- err.exitCode === 1+ err.exitCode !== 0&& !!getStdioString(err.stderr)?.includes('No space left on device'));export const isMuxNotSupported = (err: InvariantExecaError) => (- err.exitCode === 1+ err.exitCode !== 0&& err.stderr != null&& /Could not write header .*incorrect codec parameters .*Invalid argument/.test(getStdioString(err.stderr) ?? ''));