Web & ffmpeg bug fixes (#9525)

* Fix scaling for long timeline lists

* Better handle taller video in player

* Fix birdseye options

* Fix ffmpeg auto detect
This commit is contained in:
Nicolas Mowen
2024-02-01 05:44:10 -07:00
committed by GitHub
parent af3f6dadcb
commit c5819478d3
5 changed files with 47 additions and 17 deletions

View File

@@ -1124,6 +1124,9 @@ class FrigateConfig(FrigateBaseModel):
{"name": name, **merged_config}
)
if camera_config.ffmpeg.hwaccel_args == "auto":
camera_config.ffmpeg.hwaccel_args = config.ffmpeg.hwaccel_args
if (
camera_config.detect.height is None
or camera_config.detect.width is None