From ba8642fc5abe143458c46e5e7e9e3c5fd18a2f32 Mon Sep 17 00:00:00 2001 From: Vinlic Date: Thu, 7 Dec 2023 22:00:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=85=B6=E4=B8=AD?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E4=B8=AD=E6=96=AD=E6=8D=95=E8=8E=B7=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E6=9C=AA=E8=A7=A6=E5=8F=91=E5=BD=95=E5=88=B6=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/CaptureContext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CaptureContext.js b/core/CaptureContext.js index d536ea8..9da5504 100644 --- a/core/CaptureContext.js +++ b/core/CaptureContext.js @@ -134,7 +134,7 @@ export default class CaptureContext { this.startFlag = true; // 如果已停止则跳出 if (this.stopFlag) - return; + return ____screencastCompleted(); // 媒体调度 const mediaRenderPromises = this.dispatchMedias.map(media => (async () => { From e81a64bc96cc439be35be48140bdaabb17a6802e Mon Sep 17 00:00:00 2001 From: Vinlic Date: Thu, 7 Dec 2023 22:14:55 +0800 Subject: [PATCH 2/2] Release 0.0.31 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 533972b..208bdfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web-video-creator", - "version": "0.0.30", + "version": "0.0.31", "description": "A framework for creating videos based on Node.js + Puppeteer + FFmpeg.", "type": "module", "main": "index.js",