Fix black bar at bottom of previews (#9923)

This commit is contained in:
Nicolas Mowen 2024-02-20 16:20:56 -07:00 committed by GitHub
parent dba21b606d
commit f64ffa3a56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,7 @@ class PreviewRecorder:
self.start_time = 0
self.last_output_time = 0
self.output_frames = []
self.out_height = 160
self.out_height = 180
self.out_width = (
int((config.detect.width / config.detect.height) * self.out_height) // 4 * 4
)