diff --git a/revid/revid.go b/revid/revid.go index cb098bc0..61e3be3e 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -331,6 +331,8 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io. switch r.cfg.FilterMethod { case config.FilterNoOp: r.filter = filter.NewNoOp(r.encoders) + case config.FilterMOG: + r.filter = filter.NewMOGFilter(r.encoders, 25, 20, 500, 3, true) default: r.filter = filter.NewNoOp(r.encoders) }