This commit is contained in:
Nicolas Mowen 2026-03-20 07:40:27 -06:00
parent 3ea42eab14
commit 7ec818a911

View File

@ -73,9 +73,8 @@ class TestFfmpegPresets(unittest.TestCase):
assert "preset-nvidia-h264" not in (
" ".join(frigate_config.cameras["back"].ffmpeg_cmds[0]["cmd"])
)
assert (
"fps=10,scale_cuda=w=2560:h=1920,hwdownload,format=nv12"
in (" ".join(frigate_config.cameras["back"].ffmpeg_cmds[0]["cmd"]))
assert "fps=10,scale_cuda=w=2560:h=1920,hwdownload,format=nv12" in (
" ".join(frigate_config.cameras["back"].ffmpeg_cmds[0]["cmd"])
)
def test_default_ffmpeg_input_arg_preset(self):