mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix black bar at bottom of previews (#9923)
This commit is contained in:
parent
dba21b606d
commit
f64ffa3a56
@ -131,7 +131,7 @@ class PreviewRecorder:
|
|||||||
self.start_time = 0
|
self.start_time = 0
|
||||||
self.last_output_time = 0
|
self.last_output_time = 0
|
||||||
self.output_frames = []
|
self.output_frames = []
|
||||||
self.out_height = 160
|
self.out_height = 180
|
||||||
self.out_width = (
|
self.out_width = (
|
||||||
int((config.detect.width / config.detect.height) * self.out_height) // 4 * 4
|
int((config.detect.width / config.detect.height) * self.out_height) // 4 * 4
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user