From 23e711ccfd4a6abbbe295068ff6b6b71cf14d45d Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sat, 21 Oct 2023 05:13:17 +0200 Subject: [PATCH] add start and end to queue --- src/components/player/internals/ThumbnailScraper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/player/internals/ThumbnailScraper.tsx b/src/components/player/internals/ThumbnailScraper.tsx index e4f9ac08..84b974c3 100644 --- a/src/components/player/internals/ThumbnailScraper.tsx +++ b/src/components/player/internals/ThumbnailScraper.tsx @@ -88,7 +88,7 @@ class ThumnbnailWorker { // TODO make a queue based on refinement algorithm - const queue = [0.5, 0.25, 0.75]; + const queue = [0.5, 0, 1, 0.25, 0.75]; for (let i = 0; i < queue.length; i += 1) { if (this.interrupted) return; await this.takeSnapshot(vid.duration * queue[i]);