From 09991dd8d5604b5bdb8312b8709f23ae3941d9b9 Mon Sep 17 00:00:00 2001 From: Andrey Zhavoronkov Date: Mon, 23 Mar 2020 21:59:22 +0300 Subject: [PATCH] fixed frame navigation --- cvat/apps/engine/static/engine/js/player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cvat/apps/engine/static/engine/js/player.js b/cvat/apps/engine/static/engine/js/player.js index 3221b73c510..e56e82d7ebb 100644 --- a/cvat/apps/engine/static/engine/js/player.js +++ b/cvat/apps/engine/static/engine/js/player.js @@ -273,8 +273,6 @@ class PlayerModel extends Listener { if (absolute) { this._frame.requested.clear(); } - this._frame.requested.add(requestedFrame); - if (!isLoadFrame) { this._image = null; this._continueAfterLoad = this.playing; @@ -287,6 +285,8 @@ class PlayerModel extends Listener { return false; } + this._frame.requested.add(requestedFrame); + try { const frame = await this._frameProvider.require(requestedFrame, this._playing, this._step);