From 02a10bc30660a57cec613d7aad6eee01ee85f768 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Mon, 6 May 2019 21:11:08 +0200 Subject: [PATCH] attempt to fix https://github.com/mifi/lossless-cut/issues/141 --- src/ffmpeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ffmpeg.js b/src/ffmpeg.js index ee532ef9..060c92e1 100644 --- a/src/ffmpeg.js +++ b/src/ffmpeg.js @@ -303,7 +303,7 @@ async function extractAllStreams({ customOutDir, filePath }) { type: s.codec_type, format: mapCodecToOutputFormat(s.codec_name, s.codec_type), })) - .filter(it => it); + .filter(it => it && it.format); // console.log(outStreams);