Browse Source

add start and end to queue

pull/497/head
mrjvs 2 years ago
parent
commit
23e711ccfd
  1. 2
      src/components/player/internals/ThumbnailScraper.tsx

2
src/components/player/internals/ThumbnailScraper.tsx

@ -88,7 +88,7 @@ class ThumnbnailWorker { @@ -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]);

Loading…
Cancel
Save