Skip to content

Commit

Permalink
[tiles] change tiles limit to 3840 frames extracted
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBldy committed Apr 29, 2024
1 parent e816a14 commit d8ecd53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/previews/VideoProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ export default {
} else {
frame = frame - 1
}
if (this.nbFrames >= 1920) {
frame = Math.ceil(frame / Math.ceil(this.nbFrames / 1920))
if (this.nbFrames >= 3840) {
frame = Math.ceil(frame / Math.ceil(this.nbFrames / 3840))
}
const frameX = frame % 8
const frameY = Math.floor(frame / 8)
Expand Down

0 comments on commit d8ecd53

Please sign in to comment.