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;