Disable hvc check (#10260)

This commit is contained in:
Nicolas Mowen 2024-03-05 07:11:08 -07:00 committed by GitHub
parent 43c623be25
commit a174d82eb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1224,7 +1224,7 @@ class FrigateConfig(FrigateBaseModel):
camera_config.ffmpeg.hwaccel_args = config.ffmpeg.hwaccel_args camera_config.ffmpeg.hwaccel_args = config.ffmpeg.hwaccel_args
for input in camera_config.ffmpeg.inputs: for input in camera_config.ffmpeg.inputs:
need_record_fourcc = "record" in input.roles need_record_fourcc = False and "record" in input.roles
need_detect_dimensions = "detect" in input.roles and ( need_detect_dimensions = "detect" in input.roles and (
camera_config.detect.height is None camera_config.detect.height is None
or camera_config.detect.width is None or camera_config.detect.width is None