mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: removed useless fmt.Sprintf call
This commit is contained in:
parent
aaafe66cc2
commit
27f5f6ca83
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue