diff --git a/revid/revid.go b/revid/revid.go index e02b9404..965ae546 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -163,7 +163,7 @@ func (r *Revid) reset(config Config) error { err = r.setupPipeline( func(dst io.WriteCloser, fps, medType int) (io.WriteCloser, error) { - e := mts.NewEncoder(dst, float64(fps), mts.Video) + e := mts.NewEncoder(dst, float64(fps), medType) return e, nil }, func(dst io.WriteCloser, fps int) (io.WriteCloser, error) {