mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 07:31:50 +01:00
add start and end to queue
This commit is contained in:
parent
76073043bf
commit
23e711ccfd
@ -88,7 +88,7 @@ class ThumnbnailWorker {
|
|||||||
|
|
||||||
// TODO make a queue based on refinement algorithm
|
// 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) {
|
for (let i = 0; i < queue.length; i += 1) {
|
||||||
if (this.interrupted) return;
|
if (this.interrupted) return;
|
||||||
await this.takeSnapshot(vid.duration * queue[i]);
|
await this.takeSnapshot(vid.duration * queue[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user