Skip to content

Commit 6ee3123

Browse files
committed
Fix problem in one to many scalar
1 parent 2362e4b commit 6ee3123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/av/components/onetomany.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class AVOneFrameToManyScaler extends AVOneToMany {
7272
x: 0,
7373
width: Math.max(frame.displayWidth, 1),
7474
y: 0.5 * (frame.displayHeight - frame.displayWidth * targetinvaspect),
75-
height: Math.max(frame.displayWidth * targetinvaspect, 1)
75+
height: Math.max(((frame.displayWidth * targetinvaspect) >> 1) << 1, 1)
7676
}
7777
}
7878
const resframe = {}

0 commit comments

Comments
 (0)