forked from Github/frigate
Fix black bar at bottom of previews (#9923)
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user