🐛(frontend) fix dimension mismatch in BackgroundCustomProcessor

The getImageData call was using PROCESSING_WIDTH for both dimensions
instead of PROCESSING_WIDTH and PROCESSING_HEIGHT. This caused the
source image data to be 256x256 instead of the expected 256x144, leading
to buffer overflow when writing to the segmentation mask and potential
visual artifacts in Firefox background effects.
This commit is contained in:
Hadrien Blanc
2026-03-09 22:32:46 +01:00
committed by aleb_the_flash
parent 0cb3fb8e3c
commit ada7d9a666
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -37,6 +37,10 @@ and this project adheres to
- 🐛(backend) refactor lobby throttling to use participant id #1129
- 🩹(backend) ignore non-recording uploads in storage webhook handler #1142
### Fixed
- 🐛(frontend) fix dimension mismatch in BackgroundCustomProcessor getImageData #1116
## [1.10.0] - 2026-03-05
### Changed
@@ -187,7 +187,7 @@ export class BackgroundCustomProcessor implements BackgroundProcessorInterface {
0,
0,
PROCESSING_WIDTH,
PROCESSING_WIDTH
PROCESSING_HEIGHT
)
}