web/ffmpeg: don't return an empty blob

This commit is contained in:
wukko 2024-08-11 19:13:04 +06:00
parent 3fd05891e6
commit 778eb51502
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -87,6 +87,7 @@ export default class FFmpegWrapper {
{ type: output.type } { type: output.type }
); );
if (renderBlob.size === 0) return;
return renderBlob; return renderBlob;
} }
} }