From 778eb51502da340e8485f6cd80da25f6255dd1f6 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 11 Aug 2024 19:13:04 +0600 Subject: [PATCH] web/ffmpeg: don't return an empty blob --- web/src/lib/ffmpeg.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/lib/ffmpeg.ts b/web/src/lib/ffmpeg.ts index c5536629..7f677105 100644 --- a/web/src/lib/ffmpeg.ts +++ b/web/src/lib/ffmpeg.ts @@ -87,6 +87,7 @@ export default class FFmpegWrapper { { type: output.type } ); + if (renderBlob.size === 0) return; return renderBlob; } }