From f9c2c5299538ab10f34b8f75d6c7be8283f3eb76 Mon Sep 17 00:00:00 2001 From: guoxianzhe <53285945+guoxianzhe@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:22:47 +0800 Subject: [PATCH] chore(fix): renderer repaint Issue (#1138) --- ts/Renderer/RendererCache.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ts/Renderer/RendererCache.ts b/ts/Renderer/RendererCache.ts index 08c5c743b..e7da6e666 100644 --- a/ts/Renderer/RendererCache.ts +++ b/ts/Renderer/RendererCache.ts @@ -24,6 +24,12 @@ export class RendererCache { yBuffer: Buffer.alloc(0), uBuffer: Buffer.alloc(0), vBuffer: Buffer.alloc(0), + width: 0, + height: 0, + yStride: 0, + uStride: 0, + vStride: 0, + rotation: 0, }; this._context = { channelId, uid, sourceType }; this._enabled = false;