no looging messages

This commit is contained in:
Ella Pietraroia 2020-01-07 13:44:48 +10:30
parent 55e13c2f8f
commit ba1c304281
1 changed files with 0 additions and 3 deletions

View File

@ -210,7 +210,6 @@ func (r *Revid) reset(c config.Config) error {
st = mts.EncodeMJPEG
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
r.cfg.CBR = true
r.cfg.Logger.Log(logger.Info, "codec set to mjpeg", "CBR", r.cfg.CBR)
default:
panic("unknown input codec for raspivid input")
}
@ -222,7 +221,6 @@ func (r *Revid) reset(c config.Config) error {
st = mts.EncodeMJPEG
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
r.cfg.CBR = true
r.cfg.Logger.Log(logger.Info, "codec set to mjpeg", "CBR", r.cfg.CBR)
default:
panic("unknown input codec for v4l or input file input")
}
@ -236,7 +234,6 @@ func (r *Revid) reset(c config.Config) error {
st = mts.EncodeMJPEG
encOptions = append(encOptions, mts.TimeBasedPSI(time.Duration(r.cfg.PSITime)*time.Second))
r.cfg.CBR = true
r.cfg.Logger.Log(logger.Info, "codec set to mjpeg", "CBR", r.cfg.CBR)
default:
panic("unknown input codec for RTSP input")
}