diff --git a/revid/revid.go b/revid/revid.go index 199fb209..2acdea3d 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -189,7 +189,7 @@ func (r *Revid) reset(c config.Config) error { encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second)) r.cfg.CBR = true default: - panic(fmt.Sprintf("unknown input codec for Raspivid, File, V4l or RTSP input", r.cfg.InputCodec)) + panic("unknown input codec for Raspivid, File, V4l or RTSP input") } case config.InputAudio: st = mts.EncodeAudio