From ab6626a3815124d68e748b3291f13b4b96cba377 Mon Sep 17 00:00:00 2001 From: Boris Sekachev Date: Fri, 11 Aug 2023 00:27:03 +0300 Subject: [PATCH] Removed extra arguments --- cvat-core/src/frames.ts | 2 -- cvat-data/src/ts/cvat-data.ts | 6 ------ 2 files changed, 8 deletions(-) diff --git a/cvat-core/src/frames.ts b/cvat-core/src/frames.ts index 8a77c8993d5..2f5b328f81b 100644 --- a/cvat-core/src/frames.ts +++ b/cvat-core/src/frames.ts @@ -470,8 +470,6 @@ export async function getFrame( chunkSize, decodedBlocksCacheSize, dimension, - startFrame, - stopFrame, ), decodedBlocksCacheSize, activeChunkRequest: null, diff --git a/cvat-data/src/ts/cvat-data.ts b/cvat-data/src/ts/cvat-data.ts index 1f454659c70..8d50fe64083 100644 --- a/cvat-data/src/ts/cvat-data.ts +++ b/cvat-data/src/ts/cvat-data.ts @@ -82,8 +82,6 @@ interface BlockToDecode { export class FrameDecoder { private blockType: BlockType; private chunkSize: number; - private startFrame: number; - private stopFrame: number; /* ImageBitmap when decode zip or video chunks Blob when 3D dimension @@ -106,8 +104,6 @@ export class FrameDecoder { chunkSize: number, cachedBlockCount: number, dimension: DimensionType = DimensionType.DIMENSION_2D, - startFrame: number, - stopFrame: number, ) { this.mutex = new Mutex(); this.orderedStack = []; @@ -119,8 +115,6 @@ export class FrameDecoder { this.renderHeight = 1080; this.chunkSize = chunkSize; this.blockType = blockType; - this.startFrame = startFrame; - this.stopFrame = stopFrame; this.decodedChunks = {}; this.requestedChunkToDecode = null;