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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user