Commit e0c42831 authored by Andrew Marshall's avatar Andrew Marshall
Browse files

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`.
parent c23193b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",