frigate: fix incorrect patch for ffmpeg path

This called on the class, so got the `property`, whereas we need to call
on the instance. Without this, get `TypeError: expected str, bytes or
os.PathLike object, not property`.
This commit is contained in:
Andrew Marshall
2025-09-13 21:34:43 -04:00
parent c23193b943
commit e0c42831dd
+1 -1
View File
@@ -41,7 +41,7 @@ index 0d3f96da..463bcff4 100644
seconds = int(diff % 60)
ffmpeg_cmd = [
- "/usr/lib/ffmpeg/7.0/bin/ffmpeg", # hardcode path for exports thumbnail due to missing libwebp support
+ FfmpegConfig.ffmpeg_path, # hardcode path for exports thumbnail due to missing libwebp support
+ self.config.ffmpeg.ffmpeg_path, # hardcode path for exports thumbnail due to missing libwebp support
"-hide_banner",
"-loglevel",
"warning",