Skip to content

Commit

Permalink
fix(video): Slice range was broken for key image setting on video (#1737
Browse files Browse the repository at this point in the history
)

* fix: Slice range was broken for key image setting on video

* Remove console logs
  • Loading branch information
wayfarer3130 authored Jan 7, 2025
1 parent af19480 commit 9c48c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/RenderingEngine/VideoViewport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ class VideoViewport extends Viewport {
public getViewReference(
viewRefSpecifier?: ViewReferenceSpecifier
): ViewReference {
let sliceIndex = viewRefSpecifier?.sliceIndex ?? this.getSliceIndex();
let sliceIndex = viewRefSpecifier?.sliceIndex;
if (!sliceIndex) {
sliceIndex = this.isPlaying
? [this.frameRange[0] - 1, this.frameRange[1] - 1]
Expand Down

0 comments on commit 9c48c74

Please sign in to comment.