mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: added handling for FileFPS var from vidgrind
This commit is contained in:
parent
755545c80b
commit
cae7e55723
|
@ -859,6 +859,13 @@ func (r *Revid) Update(vars map[string]string) error {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
r.cfg.MOGHistory = uint(v)
|
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":
|
case "mode":
|
||||||
r.cfg.Loop = false
|
r.cfg.Loop = false
|
||||||
if value == "Loop" {
|
if value == "Loop" {
|
||||||
|
|
Loading…
Reference in New Issue