Fix frame preloading (#2608)

* fixed frame preloading

* version++

* updated changelog
main
Andrey Zhavoronkov 5 years ago committed by GitHub
parent 2a41b64c85
commit 48b6da9361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Memory consumption for the task creation process (<https://github.com/openvinotoolkit/cvat/pull/2582>) - Memory consumption for the task creation process (<https://github.com/openvinotoolkit/cvat/pull/2582>)
- Frame preloading (<https://github.com/openvinotoolkit/cvat/pull/2608>)
### Security ### Security

@ -1,6 +1,6 @@
{ {
"name": "cvat-data", "name": "cvat-data",
"version": "1.0.1", "version": "1.0.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "cvat-data", "name": "cvat-data",
"version": "1.0.1", "version": "1.0.2",
"description": "", "description": "",
"main": "src/js/cvat-data.js", "main": "src/js/cvat-data.js",
"devDependencies": { "devDependencies": {

@ -21,6 +21,7 @@ class FrameProvider {
this._blocksRanges = []; this._blocksRanges = [];
this._blocks = {}; this._blocks = {};
this._running = false; this._running = false;
this._blockSize = blockSize;
this._blockType = blockType; this._blockType = blockType;
this._currFrame = -1; this._currFrame = -1;
this._requestedBlockDecode = null; this._requestedBlockDecode = null;

Loading…
Cancel
Save