fix ffmpeg config

This commit is contained in:
YS
2022-01-20 14:01:57 +03:00
parent 76d46fe5ed
commit 477334d9dd
+1
View File
@@ -599,6 +599,7 @@ class CameraConfig(FrigateBaseModel):
if "_ffmpeg_cmds" in self:
return
ffmpeg_cmds = []
if self.ffmpeg:
for ffmpeg_input in self.ffmpeg.inputs:
ffmpeg_cmd = self._get_ffmpeg_cmd(ffmpeg_input)
if ffmpeg_cmd is None: