From cae7e55723f7ce5ed032218354165f56e4354b4a Mon Sep 17 00:00:00 2001 From: Saxon Date: Mon, 27 Jan 2020 13:54:43 +1030 Subject: [PATCH] revid/revid.go: added handling for FileFPS var from vidgrind --- revid/revid.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/revid/revid.go b/revid/revid.go index 5e3a035d..5eb5b7bf 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -859,6 +859,13 @@ func (r *Revid) Update(vars map[string]string) error { break } r.cfg.MOGHistory = uint(v) + case "FileFPS": + v, err := strconv.Atoi(value) + if err != nil { + r.cfg.Logger.Log(logger.Warning, pkg+"invalid FileFPS var", "value", value) + break + } + r.cfg.FileFPS = v case "mode": r.cfg.Loop = false if value == "Loop" {